Show / Hide Table of Contents

Class DefaultCommandRegistry

A default command registry.

Inheritance
System.Object
DefaultCommandRegistry
Implements
ICommandRegistry
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.Application.Console
Assembly: Kephas.Application.Console.dll
Syntax
[OverridePriority(Priority.Low)]
public class DefaultCommandRegistry : ICommandRegistry

Constructors

| Improve this Doc View Source

DefaultCommandRegistry(IAppRuntime, ITypeLoader)

Initializes a new instance of the DefaultCommandRegistry class.

Declaration
public DefaultCommandRegistry(IAppRuntime appRuntime, ITypeLoader typeLoader)
Parameters
Type Name Description
IAppRuntime appRuntime

The application runtime.

ITypeLoader typeLoader

The type loader.

Methods

| Improve this Doc View Source

GetCommandTypes()

Gets the command types.

Declaration
public IEnumerable<ITypeInfo> GetCommandTypes()
Returns
Type Description
System.Collections.Generic.IEnumerable<ITypeInfo>

The command types.

| Improve this Doc View Source

ResolveCommandType(String)

Resolves the command type.

Declaration
public ITypeInfo ResolveCommandType(string command)
Parameters
Type Name Description
System.String command

The command.

Returns
Type Description
ITypeInfo

An ITypeInfo.

Implements

ICommandRegistry

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