C# Class NCop.Aspects.Engine.AspectTypeValidator

Afficher le fichier Open project: sagifogel/NCop Class Usage Examples

Méthodes publiques

Méthode Description
ValidateEventAspect ( IAspect aspect, AspectMap aspectMap ) : void
ValidateEventAspect ( IAspect aspect, EventInfo @event ) : void
ValidateMethodAspect ( IAspect aspect, AspectMap aspectMap ) : void
ValidateMethodAspect ( IAspect aspect, MethodInfo method ) : void
ValidatePropertyAspect ( IAspect aspect, PropertyInfo contractProperty, PropertyInfo implementationProperty ) : void
ValidatePropertyAspect ( PropertyInfo target, IAspect aspect, AspectMap aspectMap ) : void

Private Methods

Méthode Description
ValidateParameters ( ParameterInfo methodParameters, Type comparedTypes ) : bool
ValidateTypesAreEqual ( Type memberType, Type aspectType ) : bool

Method Details

ValidateEventAspect() public static méthode

public static ValidateEventAspect ( IAspect aspect, AspectMap aspectMap ) : void
aspect IAspect
aspectMap NCop.Aspects.Aspects.AspectMap
Résultat void

ValidateEventAspect() public static méthode

public static ValidateEventAspect ( IAspect aspect, EventInfo @event ) : void
aspect IAspect
@event System.Reflection.EventInfo
Résultat void

ValidateMethodAspect() public static méthode

public static ValidateMethodAspect ( IAspect aspect, AspectMap aspectMap ) : void
aspect IAspect
aspectMap NCop.Aspects.Aspects.AspectMap
Résultat void

ValidateMethodAspect() public static méthode

public static ValidateMethodAspect ( IAspect aspect, MethodInfo method ) : void
aspect IAspect
method System.Reflection.MethodInfo
Résultat void

ValidatePropertyAspect() public static méthode

public static ValidatePropertyAspect ( IAspect aspect, PropertyInfo contractProperty, PropertyInfo implementationProperty ) : void
aspect IAspect
contractProperty System.Reflection.PropertyInfo
implementationProperty System.Reflection.PropertyInfo
Résultat void

ValidatePropertyAspect() public static méthode

public static ValidatePropertyAspect ( PropertyInfo target, IAspect aspect, AspectMap aspectMap ) : void
target System.Reflection.PropertyInfo
aspect IAspect
aspectMap NCop.Aspects.Aspects.AspectMap
Résultat void