Class CommandHandlerDescriptor
Describes a command handler.
Inheritance
CommandHandlerDescriptor
Assembly: Wolfringo.Commands.dll
Syntax
public class CommandHandlerDescriptor : ICommandHandlerDescriptor, IEquatable<ICommandHandlerDescriptor>
Constructors
|
Improve this Doc
View Source
CommandHandlerDescriptor(ConstructorInfo, IEnumerable<Object>)
creates a command handler descriptor.
Declaration
public CommandHandlerDescriptor(ConstructorInfo ctor, IEnumerable<object> parameters)
Parameters
Type |
Name |
Description |
ConstructorInfo |
ctor |
Constructor picked for creating the handler instance.
|
IEnumerable<Object> |
parameters |
Dependencies resolved for constructor injection.
|
Properties
|
Improve this Doc
View Source
Attribute
CommandHandler attribute the handler is decorated with.
Declaration
public CommandsHandlerAttribute Attribute { get; }
Property Value
Remarks
|
Improve this Doc
View Source
Constructor
Constructor picked for creating the handler instance.
Declaration
public ConstructorInfo Constructor { get; }
Property Value
|
Improve this Doc
View Source
ConstructorParams
Dependencies resolved for constructor injection.
Declaration
public object[] ConstructorParams { get; }
Property Value
|
Improve this Doc
View Source
Type
Declaration
public Type Type { get; }
Property Value
Methods
|
Improve this Doc
View Source
CreateInstance()
Creates a new instance of a handler.
Declaration
public object CreateInstance()
Returns
Type |
Description |
Object |
New handler instance.
|
Remarks
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
Equals(ICommandHandlerDescriptor)
Declaration
public bool Equals(ICommandHandlerDescriptor other)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
|
Improve this Doc
View Source
Equality(CommandHandlerDescriptor, CommandHandlerDescriptor)
Declaration
public static bool operator ==(CommandHandlerDescriptor left, CommandHandlerDescriptor right)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(CommandHandlerDescriptor, CommandHandlerDescriptor)
Declaration
public static bool operator !=(CommandHandlerDescriptor left, CommandHandlerDescriptor right)
Parameters
Returns
Implements
Extension Methods