AssemblyLevelAspect.CompileTimeValidate Method
CompileTimeValidate(Assembly)
Method invoked at build time to ensure that the aspect has been applied to the right target.
Declaration
public virtual bool CompileTimeValidate(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly | Assembly on which the current aspect is applied. |
Returns
Type | Description |
---|---|
Boolean |
|
CompileTimeValidate(Object)
Method invoked at build time to ensure that the aspect has been applied to the right target.
Declaration
public sealed override bool CompileTimeValidate(object target)
Parameters
Type | Name | Description |
---|---|---|
Object | target | Code element (Assembly, Type, FieldInfo, MethodBase, PropertyInfo, EventInfo, ParameterInfo, or LocationInfo) to which the aspect has been applied. |
Returns
Type | Description |
---|---|
Boolean |
|