Beispiel #1
0
        /// ------------------------------------------------------------------------------------
        public void Dispose()
        {
            if (_annotationFile != null)
            {
                _annotationFile.Dispose();
            }
            _annotationFile = null;

            _xmlFileSerializer  = null;
            _statisticsProvider = null;
            _presetProvider     = null;
            _fieldUpdater       = null;
            MetaDataFieldValues = null;
            ParentElement       = null;
        }
Beispiel #2
0
 /// ------------------------------------------------------------------------------------
 public void SetAnnotationFile(AnnotationComponentFile annotationFile)
 {
     _annotationFile = (annotationFile != null &&
                        File.Exists(annotationFile.PathToAnnotatedFile) ? annotationFile : null);
 }