Class HandlerDiscoveryModel
- Namespace
- Savvyio
- Assembly
- Savvyio.Core.dll
Represents a model for handler services discovery.
public class HandlerDiscoveryModel : IEquatable<HandlerDiscoveryModel>
- Inheritance
-
ObjectHandlerDiscoveryModel
- Implements
-
IEquatable<HandlerDiscoveryModel>
Constructors
HandlerDiscoveryModel(Type, Type, IGrouping<Type, KeyValuePair<Type, List<IHierarchy<Object>>>>)
Initializes a new instance of the HandlerDiscoveryModel class.
public HandlerDiscoveryModel(Type handlerAbstractionType, Type delegateAbstractionType, IGrouping<Type, KeyValuePair<Type, List<IHierarchy<object>>>> groupHandlers)
Parameters
handlerAbstractionType
TypeThe System.Type of the handler abstraction.
delegateAbstractionType
TypeThe System.Type of the delegate abstraction.
groupHandlers
IGrouping<Type, KeyValuePair<Type, List<IHierarchy<Object>>>>The implementations of the IHandler<TRequest> interface.
Properties
AbstractionType
Gets the name of the handler abstraction.
public string AbstractionType { get; set; }
Property Value
- String
Assemblies
Gets the assemblies containing the handler implementations.
public IEnumerable<HandlerServiceAssemblyModel> Assemblies { get; set; }
Property Value
- IEnumerable<HandlerServiceAssemblyModel>
DelegatesCount
Gets the count of handler implementations delegates.
public int DelegatesCount { get; set; }
Property Value
- Int32
DelegateType
Gets the name of the delegate abstraction.
public string DelegateType { get; set; }
Property Value
- String
ImplementationsCount
Gets the count of handler implementations.
public int ImplementationsCount { get; set; }
Property Value
- Int32