C# Class Testeroids.Aspects.EnforceInstanceLevelRulesAspect

Inheritance: InstanceLevelAspect
Afficher le fichier Open project: Testeroids/Testeroids

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
OnPropertyGet ( LocationInterceptionArgs args ) : void
OnPropertySet ( LocationInterceptionArgs args ) : void

Method Details

CompileTimeValidate() public méthode

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.
Résultat bool

EnforceInstanceLevelRulesAspect() public méthode

Initializes a new instance of the EnforceInstanceLevelRulesAspect class.
public EnforceInstanceLevelRulesAspect ( ) : System
Résultat System

RuntimeInitializeInstance() public méthode

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
Résultat void