예제 #1
0
        private bool disposedValue = false;         // Для определения избыточных вызовов

        protected virtual void dispose(bool disposing)
        {
            if (!disposedValue)
            {
                if (disposing)
                {
                    try {
                        nvrRecordLabels_?.Dispose();
                    } finally {
                        nvrRecordLabels_ = null;
                    }
                }
                disposedValue = true;
            }
        }
예제 #2
0
 public BookmarkService()
 {
     nvrRecordLabels_ = new NvrRecordLabels(UserSessionService.GetInstance().NvrUserSession, true);
 }