Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="dotFileImageConverterService">The IDotFileImageConverterService instance to use</param>
 public DotFileTabItemBuilder(IDotFileImageConverterService dotFileImageConverterService)
 {
     _DotFileImageConverterService = dotFileImageConverterService;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Constructs a new DotFileTabItem
        /// </summary>
        /// <param name="dotFileImageConverterService">The IDotFileImageConverterService implementation to use</param>
        /// <param name="dotFilePath">The file path to the dot file to show in the tab</param>
        public DotFileTabItem(IDotFileImageConverterService dotFileImageConverterService, string dotFilePath)
        {
            _DotFileImageConverterService = dotFileImageConverterService;
            DotFilePath = dotFilePath;

            _DotFileWatcher = new FileSystemWatcher();
            _DotFileWatcher.Changed += OnDotFileChanged;
        }