AspectWeaverInstance.ValidateTargetTypeSignature 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 bool ValidateTargetTypeSignature( ITypeSignature typeSignature )
Parameters
- typeSignature
- Type: PostSharp.Sdk.CodeModel.ITypeSignature
The target type to validate.
Return Value
Type: Booleantrue if the specifed type is supported, false otherwise.
The meaning of the typeSignature 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.
This method also calls ValidateTargetType(IType) if the typeSignature is IType.