C# Class EmployeeManager.Domain.Employee

Inheritance: AggregateRoot
Exibir arquivo Open project: ashic/SingleFileCqrs Class Usage Examples

Public Methods

Method Description
ChangeName ( string newName ) : void
Employee ( System.Guid id, string name, string address ) : System

Protected Methods

Method Description
UpdateFrom ( EmployeeCreatedEvent @event ) : void

Private Methods

Method Description
Employee ( ) : System

Method Details

ChangeName() public method

public ChangeName ( string newName ) : void
newName string
return void

Employee() public method

public Employee ( System.Guid id, string name, string address ) : System
id System.Guid
name string
address string
return System

UpdateFrom() protected method

protected UpdateFrom ( EmployeeCreatedEvent @event ) : void
@event EmployeeCreatedEvent
return void