Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
Apply ( |
||
Apply ( |
||
Apply ( |
||
Apply ( |
||
Product ( ) : System |
public ChangeDescription ( string newDescription, int originalVersion ) : void | ||
newDescription | string | |
originalVersion | int | |
Результат | void |
public ChangeName ( string newName, int originalVersion ) : void | ||
newName | string | |
originalVersion | int | |
Результат | void |
public ChangePrice ( decimal newPrice, int originalVersion ) : void | ||
newPrice | decimal | |
originalVersion | int | |
Результат | void |
public Product ( System.Guid id, string name, string description, decimal price ) : System | ||
id | System.Guid | |
name | string | |
description | string | |
price | decimal | |
Результат | System |
public ValidateName ( string name ) : void | ||
name | string | |
Результат | void |
public ValidateVersion ( int version ) : void | ||
version | int | |
Результат | void |