Пример #1
0
        protected virtual void DisposeImpl()
        {
            if (_disposed)
            {
                return;
            }

            SourceSynchronizerRoot.RegisterSyncSourceToBeUntracked(this);

            _disposed = true;
        }
Пример #2
0
 internal WriteSession(SourceSynchronizerRoot sourceSynchronizerRoot)
 {
     _sourceSynchronizerRoot = sourceSynchronizerRoot;
 }
Пример #3
0
 /// <summary>
 ///     Marks the target object dirty.
 /// </summary>
 protected virtual void MarkDirty()
 {
     Dirty = true;
     SourceSynchronizerRoot.MarkDirty(this);
 }
Пример #4
0
 protected SourceSynchronizer(SourceSynchronizerRoot sourceSynchronizerRoot, int referenceId, object reference) : base(referenceId)
 {
     SourceSynchronizerRoot = sourceSynchronizerRoot;
     Reference = reference;
 }