C# 클래스 Security.Specs.CheckPermissionsSpecs.SecuritySpecsContext

상속: SpecUnit.ContextSpecification
파일 보기 프로젝트 열기: derickbailey/Security

보호된 프로퍼티들

프로퍼티 타입 설명
PermissionRepository IPermissionRepository
_action string
_user Security.TestModel.User

보호된 메소드들

메소드 설명
GetPermission ( bool isAllowed, User user, string actionName ) : Permission
GetSecurityService ( ) : IAuthorizationService
SharedContext ( ) : void

메소드 상세

GetPermission() 보호된 메소드

protected GetPermission ( bool isAllowed, User user, string actionName ) : Permission
isAllowed bool
user Security.TestModel.User
actionName string
리턴 Permission

GetSecurityService() 보호된 메소드

protected GetSecurityService ( ) : IAuthorizationService
리턴 IAuthorizationService

SharedContext() 보호된 메소드

protected SharedContext ( ) : void
리턴 void

프로퍼티 상세

PermissionRepository 보호되어 있는 프로퍼티

protected IPermissionRepository PermissionRepository
리턴 IPermissionRepository

_action 보호되어 있는 프로퍼티

protected string _action
리턴 string

_user 보호되어 있는 프로퍼티

protected User,Security.TestModel _user
리턴 Security.TestModel.User