CQRS.NET  4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Domain.Factories.AggregateFactory Class Reference

A factory for creating instances of aggregates. More...

+ Inheritance diagram for Cqrs.Domain.Factories.AggregateFactory:

Public Member Functions

 AggregateFactory (IDependencyResolver dependencyResolver, ILogger logger)
 Instantiates a new instance of AggregateFactory. More...
 
virtual TAggregate Create< TAggregate > (Guid? rsn=null, bool tryDependencyResolutionFirst=true)
 Creates instance of TAggregate . More...
 
object Create (Type aggregateType, Guid? rsn=null, bool tryDependencyResolutionFirst=true)
 Creates instance of type aggregateType More...
 

Properties

IDependencyResolver DependencyResolver [get]
 Gets or sets the IDependencyResolver used. More...
 
ILogger Logger [get]
 Gets or sets the ILogger used. More...
 

Detailed Description

A factory for creating instances of aggregates.