示例#1
0
            public ParagraphIdSnapshotGenerator(
                IParagraphIdCollectionFeature collection,
                ISharedFeature <IParagraphIdCollectionFeature> shared,
                IPackageEventsFeature packageEvents)
            {
                _collection = collection;
                _shared     = shared;
                _events     = packageEvents;

                _events.Change += PackageChangeEvent;
            }
示例#2
0
 public void Add(IParagraphIdCollectionFeature other)
 {
     _others.Add(other);
 }
示例#3
0
 public bool Remove(IParagraphIdCollectionFeature collection)
 => _others.Remove(collection);