C# 클래스 Testeroids.Aspects.EnforceInstanceLevelRulesAspect

상속: InstanceLevelAspect
파일 보기 프로젝트 열기: Testeroids/Testeroids

공개 메소드들

메소드 설명
CompileTimeValidate ( Type type ) : bool

Checks whether the type is a candidate for the aspect to apply to it.

EnforceInstanceLevelRulesAspect ( ) : System

Initializes a new instance of the EnforceInstanceLevelRulesAspect class.

RuntimeInitializeInstance ( ) : void

Initializes the aspect instance. This method is invoked when all system elements of the aspect (like member imports) have completed. All rules are initialized.

비공개 메소드들

메소드 설명
OnPropertyGet ( LocationInterceptionArgs args ) : void
OnPropertySet ( LocationInterceptionArgs args ) : void

메소드 상세

CompileTimeValidate() 공개 메소드

Checks whether the type is a candidate for the aspect to apply to it.
public CompileTimeValidate ( Type type ) : bool
type System.Type the type to check if it needs the attribute.
리턴 bool

EnforceInstanceLevelRulesAspect() 공개 메소드

Initializes a new instance of the EnforceInstanceLevelRulesAspect class.
public EnforceInstanceLevelRulesAspect ( ) : System
리턴 System

RuntimeInitializeInstance() 공개 메소드

Initializes the aspect instance. This method is invoked when all system elements of the aspect (like member imports) have completed. All rules are initialized.
public RuntimeInitializeInstance ( ) : void
리턴 void