CQRSMicroservices.Customers.CustomerAggregateRoot.Handle C# (CSharp) 메소드

Handle() 개인적인 메소드

private Handle ( CreateCustomerCommand command ) : void
command CreateCustomerCommand
리턴 void
    private void Handle(CreateCustomerCommand command)
    {
      RaiseEvent(new CustomerCreatedEvent { CustomerId = command.CustomerId, Name = command.Name });
    }
  }
CustomerAggregateRoot