Exemple #1
0
 /// <summary>
 ///     Constructor for AafFileWatcherBase. Sets necessary fields.
 /// </summary>
 /// <param name="directoryPath">Path to directory.</param>
 /// <param name="fileTypeFilter">File type to filter for in folder.</param>
 /// <param name="loadStrategy">Strategy for loading the specific file type.</param>
 protected AafFileWatcherBase(string directoryPath, string fileTypeFilter,
                              IAssetLoadStrategy <TOut> loadStrategy)
 {
     this.directoryPath  = directoryPath;
     this.fileTypeFilter = fileTypeFilter;
     LoadStrategy        = loadStrategy;
 }
Exemple #2
0
 public AafComputerCsvFileWatcher(string directoryPath, IAssetLoadStrategy <Computer> loadStrategy)
     : base(directoryPath, "*.csv", loadStrategy)
 {
 }