C# Class NCop.Aspects.Engine.AspectTypeValidator

Mostra file Open project: sagifogel/NCop Class Usage Examples

Public Methods

Method 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

Method Description
ValidateParameters ( ParameterInfo methodParameters, Type comparedTypes ) : bool
ValidateTypesAreEqual ( Type memberType, Type aspectType ) : bool

Method Details

ValidateEventAspect() public static method

public static ValidateEventAspect ( IAspect aspect, AspectMap aspectMap ) : void
aspect IAspect
aspectMap NCop.Aspects.Aspects.AspectMap
return void

ValidateEventAspect() public static method

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

ValidateMethodAspect() public static method

public static ValidateMethodAspect ( IAspect aspect, AspectMap aspectMap ) : void
aspect IAspect
aspectMap NCop.Aspects.Aspects.AspectMap
return void

ValidateMethodAspect() public static method

public static ValidateMethodAspect ( IAspect aspect, MethodInfo method ) : void
aspect IAspect
method System.Reflection.MethodInfo
return void

ValidatePropertyAspect() public static method

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

ValidatePropertyAspect() public static method

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