ConfigureCommand(IQuery<ICompilation>, Action<CommandOptionsBuilder>)
Configures CommandAttribute for the current project.
Declaration
public static void ConfigureCommand(this IQuery<ICompilation> query, Action<CommandOptionsBuilder> configure)Parameters
| Type | Name | Description |
|---|---|---|
| IQuery<ICompilation> | query | The IQuery<TDeclaration> for the current compilation. |
| Action<CommandOptionsBuilder> | configure | A delegate that configures the aspect. |
ConfigureCommand(IQuery<INamespace>, Action<CommandOptionsBuilder>)
Configures CommandAttribute for the current namespace.
Declaration
public static void ConfigureCommand(this IQuery<INamespace> query, Action<CommandOptionsBuilder> configure)Parameters
| Type | Name | Description |
|---|---|---|
| IQuery<INamespace> | query | The IQuery<TDeclaration> for the current namespace. |
| Action<CommandOptionsBuilder> | configure | A delegate that configures the aspect. |
ConfigureCommand(IQuery<INamedType>, Action<CommandOptionsBuilder>)
Configures CommandAttribute for the current type.
Declaration
public static void ConfigureCommand(this IQuery<INamedType> query, Action<CommandOptionsBuilder> configure)Parameters
| Type | Name | Description |
|---|---|---|
| IQuery<INamedType> | query | The IQuery<TDeclaration> for the current type. |
| Action<CommandOptionsBuilder> | configure | A delegate that configures the aspect. |
ConfigureCommand(IQuery<IMethod>, Action<CommandOptionsBuilder>)
Configures CommandAttribute for the current method.
Declaration
public static void ConfigureCommand(this IQuery<IMethod> query, Action<CommandOptionsBuilder> configure)Parameters
| Type | Name | Description |
|---|---|---|
| IQuery<IMethod> | query | The IQuery<TDeclaration> for the current property. |
| Action<CommandOptionsBuilder> | configure | A delegate that configures the aspect. |