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(IQuery<ICompilation>, ContractOptions)

Configures ContractOptions for the current ICompilation.

ConfigureContracts(IQuery<IFieldOrPropertyOrIndexer>, ContractOptions)

Configures ContractOptions for the given IFieldOrPropertyOrIndexer.

ConfigureContracts(IQuery<IMethod>, ContractOptions)

Configures ContractOptions for the given IMethod.

ConfigureContracts(IQuery<INamedType>, ContractOptions)

Configures ContractOptions for the given INamedType.

ConfigureContracts(IQuery<INamespace>, ContractOptions)

Configures ContractOptions for the given INamespace.

ConfigureContracts(IQuery<IParameter>, ContractOptions)

Configures ContractOptions for the given IParameter.