public RemoveDeltaOperation(ORSet <TKey> .IDeltaOperation underlying) { if (underlying == null) { throw new ArgumentNullException(nameof(underlying)); } Underlying = underlying; }
public RemoveDeltaOperation(ORSet <T> underlying) { if (underlying.Count != 1) { throw new ArgumentException($"RemoveDeltaOperation should contain one removed element, but was {underlying}"); } Underlying = underlying; }
public UpdateDeltaOperation(ORSet <TKey> .IDeltaOperation underlying, ImmutableDictionary <TKey, IReplicatedData> values) { if (underlying == null) { throw new ArgumentNullException(nameof(underlying)); } Underlying = underlying; Values = values; }
public PutDeltaOperation(ORSet <TKey> .IDeltaOperation underlying, TKey key, TValue value) { if (underlying == null) { throw new ArgumentNullException(nameof(underlying)); } Underlying = underlying; Key = key; Value = value; }
public FullStateDeltaOperation(ORSet <T> underlying) { Underlying = underlying; }
public AddDeltaOperation(ORSet <T> underlying) { Underlying = underlying; }