MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​AspectsCache­Key­AttributeBuild­Aspect
Open sandboxFocus

CacheKeyAttribute.BuildAspect Method

BuildAspect(IAspectBuilder<IFieldOrProperty>)

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

Declaration
public override void BuildAspect(IAspectBuilder<IFieldOrProperty> builder)
Parameters
Type Name Description
IAspectBuilder<IFieldOrProperty> builder

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

Overrides
FieldOrPropertyAspect.BuildAspect(IAspectBuilder<IFieldOrProperty>)