Summary
Uses an instance of
System.IServiceProvider to call constructors
when creating models.
Implements the McMaster.Extensions.CommandLineUtils.Conventions.IConvention
- Assembly
- Rocket
.Surgery .Extensions .CommandLine .dll - Namespace
- Rocket
.Surgery .Extensions .CommandLine - Interfaces
-
- IConvention
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IConvention"]
Type["ActivatorUtilitiesConvention"]
class Type type-node
Syntax
public class ActivatorUtilitiesConvention : IConvention
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
| Name | Summary |
|---|---|
| Activator |
Initializes a new instance of the ActivatorUtilitiesConvention class.
|
Fields
| Name | Constant Value | Summary |
|---|---|---|
| Ambiguous |
Could not determine which 'OnExecute' or 'OnExecuteAsync' method to use. Multiple methods with this name were found |
The ambiguous on execute method
static
|
| No |
No method named 'OnExecute' or 'OnExecuteAsync' could be found |
The no on execute method found
static
|
Methods
| Name | Value | Summary |
|---|---|---|
| Apply |
void |
Apply the convention.
|
| Invalid |
string |
Invalids the type of the on execute return.
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
| With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
See Also
- McMaster.Extensions.CommandLineUtils.Conventions.IConvention
