Show / Hide Table of Contents

Class DataCommandFactory<TCommand>

A data command factory.

Inheritance
System.Object
DataCommandFactory<TCommand>
Implements
IDataCommandFactory<TCommand>
IDataCommandFactory
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
public class DataCommandFactory<TCommand> : IDataCommandFactory<TCommand>, IDataCommandFactory where TCommand : IDataCommand
Type Parameters
Name Description
TCommand

Type of the command.

Constructors

| Improve this Doc View Source

DataCommandFactory(ICollection<IExportFactory<TCommand, DataCommandMetadata>>)

Initializes a new instance of the DataCommandFactory<TCommand> class.

Declaration
public DataCommandFactory(ICollection<IExportFactory<TCommand, DataCommandMetadata>> commandFactories)
Parameters
Type Name Description
System.Collections.Generic.ICollection<IExportFactory<TCommand, DataCommandMetadata>> commandFactories

The command factories.

Methods

| Improve this Doc View Source

GetCommandFactory(Type)

Gets the command factory for the given data context type.

Declaration
public Func<IDataCommand> GetCommandFactory(Type dataContextType)
Parameters
Type Name Description
System.Type dataContextType

Type of the data context.

Returns
Type Description
System.Func<IDataCommand>

The command factory for the indicated command.

Implements

IDataCommandFactory<TCommand>
IDataCommandFactory

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX