Class DefaultDataCommandProvider
A default data command provider.
Inheritance
System.Object
DefaultDataCommandProvider
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Data.Commands.Factory
Assembly: Kephas.Data.dll
Syntax
[OverridePriority(Priority.Low)]
public class DefaultDataCommandProvider : IDataCommandProvider
Constructors
| Improve this Doc View SourceDefaultDataCommandProvider(ICompositionContext)
Initializes a new instance of the DefaultDataCommandProvider class.
Declaration
public DefaultDataCommandProvider(ICompositionContext compositionContext)
Parameters
Type | Name | Description |
---|---|---|
ICompositionContext | compositionContext | Context for the composition. |
Methods
| Improve this Doc View SourceCreateCommand(Type, Type)
Creates a command for the provided data context type.
Declaration
public IDataCommand CreateCommand(Type dataContextType, Type commandType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | dataContextType | Type of the data context. |
System.Type | commandType | Type of the command. |
Returns
Type | Description |
---|---|
IDataCommand | The new command. |