/// <summary> /// Creates a new event with the specified operation. /// </summary> /// <param name="op">SharedDictionaryOperation</param> /// <param name="key">Key</param> /// <param name="value">Value</param> /// <param name="comparisonValue">Comparison value</param> /// <param name="sender">Sender</param> /// <param name="comparer">Comparer</param> SharedDictionaryEvent(SharedDictionaryOperation op, object key, object value, object comparisonValue, MachineId sender, object comparer) { Operation = op; Key = key; Value = value; ComparisonValue = comparisonValue; Sender = sender; Comparer = comparer; }
/// <summary> /// Initializes a new instance of the <see cref="SharedDictionaryEvent"/> class. /// </summary> private SharedDictionaryEvent(SharedDictionaryOperation op, object key, object value, object comparisonValue, MachineId sender, object comparer) { this.Operation = op; this.Key = key; this.Value = value; this.ComparisonValue = comparisonValue; this.Sender = sender; this.Comparer = comparer; }