Ejemplo n.º 1
0
        public SyncChangeSet(SyncAnchor sourceAnchor, SyncAnchor targetAnchor, IReadOnlyList <SyncItem> items)
        {
            Validate.NotNull(sourceAnchor, nameof(sourceAnchor));
            Validate.NotNull(targetAnchor, nameof(targetAnchor));
            Validate.NotNull(items, nameof(items));

            SourceAnchor = sourceAnchor;
            TargetAnchor = targetAnchor;
            Items        = items;
        }
 public InvalidSyncOperationException(SyncAnchor candidateAnchor)
 {
     CandidateAnchor = candidateAnchor;
 }