DefaultRequestContext constructor

namespace: Serenity.Services   assemblySerenity.Net.Services

Creates an instance of the class

public DefaultRequestContext(IBehaviorProvider behaviors, ITwoLevelCache cache, 
    ITextLocalizer localizer, IPermissionService permissions, IUserAccessor userAccessor)
parameter description
behaviors Behavior provider
cache Two level cache
localizer Text localizer
permissions Permissions
userAccessor User access


exception condition
ArgumentNullException Any of the arguments is null

See Also