/// <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; }
/// <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; }