Method | Description | |
---|---|---|
ChangeDescription ( string newDescription, int originalVersion ) : void | ||
ChangeName ( string newName, int originalVersion ) : void | ||
ChangePrice ( decimal newPrice, int originalVersion ) : void | ||
Product ( System.Guid id, string name, string description, decimal price ) : System | ||
ValidateName ( string name ) : void | ||
ValidateVersion ( int version ) : void |
Method | Description | |
---|---|---|
Apply ( |
||
Apply ( |
||
Apply ( |
||
Apply ( |
||
Product ( ) : System |
public ChangeDescription ( string newDescription, int originalVersion ) : void | ||
newDescription | string | |
originalVersion | int | |
return | void |
public ChangeName ( string newName, int originalVersion ) : void | ||
newName | string | |
originalVersion | int | |
return | void |
public ChangePrice ( decimal newPrice, int originalVersion ) : void | ||
newPrice | decimal | |
originalVersion | int | |
return | void |
public Product ( System.Guid id, string name, string description, decimal price ) : System | ||
id | System.Guid | |
name | string | |
description | string | |
price | decimal | |
return | System |
public ValidateVersion ( int version ) : void | ||
version | int | |
return | void |