Пример #1
0
 /// <summary>
 /// Creates a new event with the specified operation.
 /// </summary>
 /// <param name="op">SharedCounterOperation</param>
 /// <param name="value">Value</param>
 /// <param name="comparand">Comparand</param>
 /// <param name="sender">Sender</param>
 SharedCounterEvent(SharedCounterOperation op, int value, int comparand, MachineId sender)
 {
     Operation = op;
     Value     = value;
     Comparand = comparand;
     Sender    = sender;
 }
Пример #2
0

        
Пример #3
0
 /// <summary>
 /// Creates a new event with the specified operation.
 /// </summary>
 /// <param name="op">SharedCounterOperation</param>
 /// <param name="value">Value</param>
 /// <param name="sender">Sender</param>
 SharedCounterEvent(SharedCounterOperation op, int value, MachineId sender)
 {
     Operation = op;
     Value     = value;
     Sender    = sender;
 }