示例#1
0
            public RemoveDeltaOperation(ORSet <TKey> .IDeltaOperation underlying)
            {
                if (underlying == null)
                {
                    throw new ArgumentNullException(nameof(underlying));
                }

                Underlying = underlying;
            }
示例#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;
            }
示例#3
0
            public UpdateDeltaOperation(ORSet <TKey> .IDeltaOperation underlying, ImmutableDictionary <TKey, IReplicatedData> values)
            {
                if (underlying == null)
                {
                    throw new ArgumentNullException(nameof(underlying));
                }

                Underlying = underlying;
                Values     = values;
            }
示例#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;
            }
示例#5
0
 public FullStateDeltaOperation(ORSet <T> underlying)
 {
     Underlying = underlying;
 }
示例#6
0
 public AddDeltaOperation(ORSet <T> underlying)
 {
     Underlying = underlying;
 }