ImmutabilityConfigurationExtensions.ConfigureImmutability Method
ConfigureImmutability(IAspectReceiver<INamespace>, ImmutabilityKind)
Configures the immutability of a given namespace by supplying an ImmutabilityKind.
Declaration
public static void ConfigureImmutability(this IAspectReceiver<INamespace> receiver, ImmutabilityKind immutabilityKind)
Parameters
Type | Name | Description |
---|---|---|
IAspectReceiver<INamespace> | receiver | |
ImmutabilityKind | immutabilityKind |
ConfigureImmutability(IAspectReceiver<INamespace>, IImmutabilityClassifier)
Configures the immutability of a given namespace by supplying an IImmutabilityClassifier.
Declaration
public static void ConfigureImmutability(this IAspectReceiver<INamespace> receiver, IImmutabilityClassifier classifier)
Parameters
Type | Name | Description |
---|---|---|
IAspectReceiver<INamespace> | receiver | |
IImmutabilityClassifier | classifier |
ConfigureImmutability(IAspectReceiver<INamedType>, ImmutabilityKind)
Configures the immutability of a given type by supplying an ImmutabilityKind.
Declaration
public static void ConfigureImmutability(this IAspectReceiver<INamedType> receiver, ImmutabilityKind immutabilityKind)
Parameters
Type | Name | Description |
---|---|---|
IAspectReceiver<INamedType> | receiver | |
ImmutabilityKind | immutabilityKind |
ConfigureImmutability(IAspectReceiver<INamedType>, IImmutabilityClassifier)
Configures the immutability of a given type by supplying an IImmutabilityClassifier.
Declaration
public static void ConfigureImmutability(this IAspectReceiver<INamedType> receiver, IImmutabilityClassifier classifier)
Parameters
Type | Name | Description |
---|---|---|
IAspectReceiver<INamedType> | receiver | |
IImmutabilityClassifier | classifier |