Open sandboxFocus

Class ContractConfigurationExtensions

Fabric extension methods to configure the Metalama.Patterns.Contracts namespace.

Inheritance
ContractConfigurationExtensions
Namespace: Metalama.Patterns.Contracts
Assembly: Metalama.Patterns.Contracts.dll
Syntax
[CompileTime]
public static class ContractConfigurationExtensions

Methods

Name Description
ConfigureContracts(IAspectReceiver<ICompilation>, ContractOptions)

Configures ContractOptions for the current ICompilation.

ConfigureContracts(IAspectReceiver<IFieldOrPropertyOrIndexer>, ContractOptions)

Configures ContractOptions for the given IFieldOrPropertyOrIndexer.

ConfigureContracts(IAspectReceiver<IMethod>, ContractOptions)

Configures ContractOptions for the given IMethod.

ConfigureContracts(IAspectReceiver<INamedType>, ContractOptions)

Configures ContractOptions for the given INamedType.

ConfigureContracts(IAspectReceiver<INamespace>, ContractOptions)

Configures ContractOptions for the given INamespace.

ConfigureContracts(IAspectReceiver<IParameter>, ContractOptions)

Configures ContractOptions for the given IParameter.