public RemoveParticipantOperation(WaveletOperationContext context, ParticipantId participant)
            : base(context)
        {
            Contract.Ensures(participant != null);

            ParticipantId = participant;
        }
        public AddParticipantOperation(WaveletOperationContext context, ParticipantId participant,
                                       int position = EndPosition)
            : base(context)
        {
            Contract.Requires(participant != null);

            ParticipantId = participant;
            _position = position;
        }
Esempio n. 3
0
 public BlipContentOperation(WaveletOperationContext context, IDocOp contentOp, UpdateContributorMethod update = UpdateContributorMethod.Add)
     : base(context)
 {
     ContentOp = contentOp;
     _method = update;
 }
Esempio n. 4
0
 public NoOp(WaveletOperationContext context)
     : base(context)
 {
 }
Esempio n. 5
0
 public OperationTestBase()
 {
     Context = new WaveletOperationContext(Fred, ContextTimestamp, 1);
     WaveletData = A.Fake<IWaveletData>();
 }