AspectWeaverInstance.ValidateTargetType Method |
Validates whether the specified type is supported by this aspect weaver.
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.10.0 (6.10.10.0)
C#
protected virtual bool ValidateTargetType( IType type )
Parameters
- type
- Type: PostSharp.Sdk.CodeModel.IType
The target type to validate.
Return Value
Type: Booleantrue if the specifed type is supported, false otherwise.
The meaning of the type parameter depends on the actual aspect weaver implementation.
E.g. it can represent a parameter type for a method level aspect weaver or a property type for a location level aspect weaver.