IntroduceAttribute.BuildAdvice Method
BuildAdvice(IMemberOrNamedType, string, IAspectBuilder<IDeclaration>)
Builds the aspect, i.e. translates the current declarative advice into a programmatic advice or possibly diagnostics and validators. In case of error, the implementation must report diagnostics and call SkipAspect().
Declaration
public override void BuildAdvice(IMemberOrNamedType templateMember, string templateMemberId, IAspectBuilder<IDeclaration> builder)
Parameters
Type | Name | Description |
---|---|---|
IMemberOrNamedType | templateMember | The member or type to which the current attribute is applied. |
string | templateMemberId | The a value that represents |
IAspectBuilder<IDeclaration> | builder |