C# 클래스 ServiceStack.RestrictAttribute

상속: AttributeBase
파일 보기 프로젝트 열기: ServiceStack/ServiceStack

공개 메소드들

메소드 설명
CanShowTo ( RequestAttributes restrictions ) : bool
HasAccessTo ( RequestAttributes restrictions ) : bool
RestrictAttribute ( ) : System
RestrictAttribute ( RequestAttributes allowedAccessScenarios, RequestAttributes visibleToScenarios ) : System

Restrict access and metadata visibility to any of the specified access scenarios

비공개 메소드들

메소드 설명
ToAllowedFlagsSet ( RequestAttributes restrictToAny ) : RequestAttributes[]

Returns the allowed set of scenarios based on the user-specified restrictions

메소드 상세

CanShowTo() 공개 메소드

public CanShowTo ( RequestAttributes restrictions ) : bool
restrictions RequestAttributes
리턴 bool

HasAccessTo() 공개 메소드

public HasAccessTo ( RequestAttributes restrictions ) : bool
restrictions RequestAttributes
리턴 bool

RestrictAttribute() 공개 메소드

public RestrictAttribute ( ) : System
리턴 System

RestrictAttribute() 공개 메소드

Restrict access and metadata visibility to any of the specified access scenarios
public RestrictAttribute ( RequestAttributes allowedAccessScenarios, RequestAttributes visibleToScenarios ) : System
allowedAccessScenarios RequestAttributes
visibleToScenarios RequestAttributes
리턴 System