MetalamaAPI documentationAspect APIMetalama.​Framework.​AspectsIAspect­BuilderAspect­State
Open sandboxFocus

IAspectBuilder.AspectState Property


Gets or sets an arbitrary object that is then exposed on the AspectState property of the IAspectInstance interface. While a single instance of an aspect class can be used for several target declarations, the AspectState is specific to the target declaration. If the aspect is inherited, the AspectState must be lama-serializable (ICompileTimeSerializable or default serializable classes).

IAspectState AspectState { get; set; }
Property Value
Type Description