Ejemplo n.º 1
0
 public Transaction(
     Guid accountId,
     decimal amount,
     Enums.OperationType operationType)
 {
     AccountId     = accountId;
     Amount        = amount;
     OperationType = operationType;
 }
Ejemplo n.º 2
0
 public Operation(IOperable firstNumber, Enums.OperationType type, IOperable secondNumber)
 {
     Type         = type;
     FirstNumber  = firstNumber;
     SecondNumber = secondNumber;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="supply">поставка</param>
 /// <param name="operationType">тип операции</param>
 public NotificationQueue(Models.DB.Supply supply, Enums.OperationType operationType)
 {
     this.Supply        = supply;
     this.OperationType = operationType;
     this.Date          = DateTimeOffset.Now;
 }