Open sandboxFocus

Method ConfigureContracts

ConfigureContracts(IQuery<ICompilation>, ContractOptions)

Configures ContractOptions for the current ICompilation.

Declaration
public static void ConfigureContracts(this IQuery<ICompilation> query, ContractOptions options)
Parameters
Type Name Description
IQuery<ICompilation> query
ContractOptions options

ConfigureContracts(IQuery<INamespace>, ContractOptions)

Configures ContractOptions for the given INamespace.

Declaration
public static void ConfigureContracts(this IQuery<INamespace> query, ContractOptions options)
Parameters
Type Name Description
IQuery<INamespace> query
ContractOptions options

ConfigureContracts(IQuery<INamedType>, ContractOptions)

Configures ContractOptions for the given INamedType.

Declaration
public static void ConfigureContracts(this IQuery<INamedType> query, ContractOptions options)
Parameters
Type Name Description
IQuery<INamedType> query
ContractOptions options

ConfigureContracts(IQuery<IFieldOrPropertyOrIndexer>, ContractOptions)

Configures ContractOptions for the given IFieldOrPropertyOrIndexer.

Declaration
public static void ConfigureContracts(this IQuery<IFieldOrPropertyOrIndexer> query, ContractOptions options)
Parameters
Type Name Description
IQuery<IFieldOrPropertyOrIndexer> query
ContractOptions options

ConfigureContracts(IQuery<IMethod>, ContractOptions)

Configures ContractOptions for the given IMethod.

Declaration
public static void ConfigureContracts(this IQuery<IMethod> query, ContractOptions options)
Parameters
Type Name Description
IQuery<IMethod> query
ContractOptions options

ConfigureContracts(IQuery<IParameter>, ContractOptions)

Configures ContractOptions for the given IParameter.

Declaration
public static void ConfigureContracts(this IQuery<IParameter> query, ContractOptions options)
Parameters
Type Name Description
IQuery<IParameter> query
ContractOptions options