public LocalObjectFetcher ( IPathMatcher matcher, IFileSystemInfoFactory fsFactory = null ) : System | ||
matcher | IPathMatcher | /// Matcher from IMetaDataStorage /// |
fsFactory | IFileSystemInfoFactory | /// Fs factory, should be null unless in Unit Tests /// |
return | System |
public LocalObjectFetcher(IPathMatcher matcher, IFileSystemInfoFactory fsFactory = null) {
if (matcher == null) {
throw new ArgumentNullException("matcher");
}
this.matcher = matcher;
if(fsFactory == null) {
this.fsFactory = new FileSystemInfoFactory();
} else {
this.fsFactory = fsFactory;
}
}