Ejemplo n.º 1
0
            public RemoveDeltaOperation(ORSet <TKey> .IDeltaOperation underlying)
            {
                if (underlying == null)
                {
                    throw new ArgumentNullException(nameof(underlying));
                }

                Underlying = underlying;
            }
Ejemplo n.º 2
0
            public RemoveDeltaOperation(ORSet <T> underlying)
            {
                if (underlying.Count != 1)
                {
                    throw new ArgumentException($"RemoveDeltaOperation should contain one removed element, but was {underlying}");
                }

                Underlying = underlying;
            }
Ejemplo n.º 3
0
            public UpdateDeltaOperation(ORSet <TKey> .IDeltaOperation underlying, ImmutableDictionary <TKey, IReplicatedData> values)
            {
                if (underlying == null)
                {
                    throw new ArgumentNullException(nameof(underlying));
                }

                Underlying = underlying;
                Values     = values;
            }
Ejemplo n.º 4
0
            public PutDeltaOperation(ORSet <TKey> .IDeltaOperation underlying, TKey key, TValue value)
            {
                if (underlying == null)
                {
                    throw new ArgumentNullException(nameof(underlying));
                }

                Underlying = underlying;
                Key        = key;
                Value      = value;
            }
Ejemplo n.º 5
0
 public FullStateDeltaOperation(ORSet <T> underlying)
 {
     Underlying = underlying;
 }
Ejemplo n.º 6
0
 public AddDeltaOperation(ORSet <T> underlying)
 {
     Underlying = underlying;
 }