Open sandboxFocus

Method ConfigureCommand

ConfigureCommand(IAspectReceiver<ICompilation>, Action<CommandOptionsBuilder>)

Configures CommandAttribute for the current project.

Declaration
public static void ConfigureCommand(this IAspectReceiver<ICompilation> receiver, Action<CommandOptionsBuilder> configure)
Parameters
Type Name Description
IAspectReceiver<ICompilation> receiver

The IAspectReceiver<TDeclaration> for the current compilation.

Action<CommandOptionsBuilder> configure

A delegate that configures the aspect.

ConfigureCommand(IAspectReceiver<INamespace>, Action<CommandOptionsBuilder>)

Configures CommandAttribute for the current namespace.

Declaration
public static void ConfigureCommand(this IAspectReceiver<INamespace> receiver, Action<CommandOptionsBuilder> configure)
Parameters
Type Name Description
IAspectReceiver<INamespace> receiver

The IAspectReceiver<TDeclaration> for the current namespace.

Action<CommandOptionsBuilder> configure

A delegate that configures the aspect.

ConfigureCommand(IAspectReceiver<INamedType>, Action<CommandOptionsBuilder>)

Configures CommandAttribute for the current type.

Declaration
public static void ConfigureCommand(this IAspectReceiver<INamedType> receiver, Action<CommandOptionsBuilder> configure)
Parameters
Type Name Description
IAspectReceiver<INamedType> receiver

The IAspectReceiver<TDeclaration> for the current type.

Action<CommandOptionsBuilder> configure

A delegate that configures the aspect.

ConfigureCommand(IAspectReceiver<IMethod>, Action<CommandOptionsBuilder>)

Configures CommandAttribute for the current method.

Declaration
public static void ConfigureCommand(this IAspectReceiver<IMethod> receiver, Action<CommandOptionsBuilder> configure)
Parameters
Type Name Description
IAspectReceiver<IMethod> receiver

The IAspectReceiver<TDeclaration> for the current property.

Action<CommandOptionsBuilder> configure

A delegate that configures the aspect.