C# Class NDomain.State

Base class for aggregate states, that already has State Mutator support. It uses a convention based for applying events. Subclasses should have public or private methods using the following convention: void On[NameOfTheEventType]([NameOfTheEventType] ev) These methods are called by a state mutator in order to apply events that modify the current state
Inheritance: IState
显示文件 Open project: mfelicio/NDomain

Public Methods

Method Description
Mutate ( IAggregateEvent @event ) : void
State ( ) : System

Method Details

Mutate() public method

public Mutate ( IAggregateEvent @event ) : void
@event IAggregateEvent
return void

State() public method

public State ( ) : System
return System