MetalamaAPI documentationExtensions APIMetalama.​Extensions.​MulticastOverride­Method­Multicast­AspectBuild­Aspect
Open sandboxFocus

OverrideMethodMulticastAspect.BuildAspect Method

BuildAspect(IAspectBuilder<IMethod>)

Initializes the aspect. The implementation must add advice, child aspects and validators using the builder parameter.

Declaration
public virtual void BuildAspect(IAspectBuilder<IMethod> builder)
Parameters
Type Name Description
IAspectBuilder<IMethod> builder

An object that allows the aspect to add advice, child aspects and validators.

Implements
IAspect<T>.BuildAspect(IAspectBuilder<T>)

BuildAspect(IAspectBuilder<IProperty>)

Initializes the aspect. The implementation must add advice, child aspects and validators using the builder parameter.

Declaration
public virtual void BuildAspect(IAspectBuilder<IProperty> builder)
Parameters
Type Name Description
IAspectBuilder<IProperty> builder

An object that allows the aspect to add advice, child aspects and validators.

Implements
IAspect<T>.BuildAspect(IAspectBuilder<T>)

BuildAspect(IAspectBuilder<IEvent>)

Initializes the aspect. The implementation must add advice, child aspects and validators using the builder parameter.

Declaration
public virtual void BuildAspect(IAspectBuilder<IEvent> builder)
Parameters
Type Name Description
IAspectBuilder<IEvent> builder

An object that allows the aspect to add advice, child aspects and validators.

Implements
IAspect<T>.BuildAspect(IAspectBuilder<T>)