MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Architecture.​AspectsExperimental­Attribute
Open sandboxFocus

ExperimentalAttribute Class

Aspect that, when applied to a declaration, reports a warning when any other declaration tries to use it, unless the using declaration is also marked as experimental.

Inheritance
ExperimentalAttribute
Namespace: Metalama.Extensions.Architecture.Aspects
Assembly: Metalama.Extensions.Architecture.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Constructor|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Event|AttributeTargets.Interface|AttributeTargets.Delegate)]
public class ExperimentalAttribute : Attribute, IAspect<IDeclaration>, IAspect, ICompileTimeSerializable, ITemplateProvider, IEligible<IDeclaration>

Constructors

Name Description
ExperimentalAttribute(string?)

Properties

Name Description
Description

Methods

Name Description
BuildAspect(IAspectBuilder<IDeclaration>)

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