C# Class Security.Specs.CheckPermissionsSpecs.SecuritySpecsContext

Inheritance: SpecUnit.ContextSpecification
Afficher le fichier Open project: derickbailey/Security

Protected Properties

Свойство Type Description
PermissionRepository IPermissionRepository
_action string
_user Security.TestModel.User

Méthodes protégées

Méthode Description
GetPermission ( bool isAllowed, User user, string actionName ) : Permission
GetSecurityService ( ) : IAuthorizationService
SharedContext ( ) : void

Method Details

GetPermission() protected méthode

protected GetPermission ( bool isAllowed, User user, string actionName ) : Permission
isAllowed bool
user Security.TestModel.User
actionName string
Résultat Permission

GetSecurityService() protected méthode

protected GetSecurityService ( ) : IAuthorizationService
Résultat IAuthorizationService

SharedContext() protected méthode

protected SharedContext ( ) : void
Résultat void

Property Details

PermissionRepository protected_oe property

protected IPermissionRepository PermissionRepository
Résultat IPermissionRepository

_action protected_oe property

protected string _action
Résultat string

_user protected_oe property

protected User,Security.TestModel _user
Résultat Security.TestModel.User