C# Class Ncqrs.Commanding.CommandExecution.Mapping.Attributes.MapsToAggregateRootConstructorAttribute

Inheritance: System.Attribute
显示文件 Open project: SzymonPobiega/ncqrs

Public Methods

Method Description
MapsToAggregateRootConstructorAttribute ( String typeName ) : System

Initializes a new instance of the MapsToAggregateRootConstructorAttribute class.

MapsToAggregateRootConstructorAttribute ( Type type ) : System

Initializes a new instance of the MapsToAggregateRootConstructorAttribute class.

Method Details

MapsToAggregateRootConstructorAttribute() public method

Initializes a new instance of the MapsToAggregateRootConstructorAttribute class.
Thrown when typeName is null or emtpy.
public MapsToAggregateRootConstructorAttribute ( String typeName ) : System
typeName String The full qualified name of the type of the aggregate root.
return System

MapsToAggregateRootConstructorAttribute() public method

Initializes a new instance of the MapsToAggregateRootConstructorAttribute class.
Thrown when type is null.
public MapsToAggregateRootConstructorAttribute ( Type type ) : System
type System.Type The type of the aggregate root.
return System