Provides extension methods for configuring the immutability of types.
Namespace: Metalama.Patterns.Immutability.Configuration
Assembly: Metalama.Patterns.Immutability.dll
Syntax
[CompileTime]
public static class ImmutabilityConfigurationExtensions
Methods
Name | Description |
---|---|
ConfigureImmutability(IAspectReceiver<INamedType>, IImmutabilityClassifier) | Configures the immutability of a given type by supplying an IImmutabilityClassifier. |
ConfigureImmutability(IAspectReceiver<INamedType>, ImmutabilityKind) | Configures the immutability of a given type by supplying an ImmutabilityKind. |
ConfigureImmutability(IAspectReceiver<INamespace>, IImmutabilityClassifier) | Configures the immutability of a given namespace by supplying an IImmutabilityClassifier. |
ConfigureImmutability(IAspectReceiver<INamespace>, ImmutabilityKind) | Configures the immutability of a given namespace by supplying an ImmutabilityKind. |