CmisSync.Lib.Accumulator.LocalObjectFetcher.LocalObjectFetcher C# (CSharp) Метод

LocalObjectFetcher() публичный Метод

Initializes a new instance of the LocalObjectFetcher class.
/// Is thrown when an argument passed to a method is invalid because it is . ///
public LocalObjectFetcher ( IPathMatcher matcher, IFileSystemInfoFactory fsFactory = null ) : System
matcher IPathMatcher /// Matcher from IMetaDataStorage ///
fsFactory IFileSystemInfoFactory /// Fs factory, should be null unless in Unit Tests ///
Результат 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;
            }
        }