C# Класс Testeroids.Aspects.EnforceInstanceLevelRulesAspect

Наследование: InstanceLevelAspect
Показать файл Открыть проект

Открытые методы

Метод Описание
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