/// <summary> /// Creates a new instance. /// </summary> /// <param name="options">The options that define glob expansion behavior.</param> /// <param name="fileSystem">The <see cref="IFileSystem"/> implementation to use.</param> public Glob(GlobOptions options, IFileSystem fileSystem) { Options = options; this.fileSystem = fileSystem; }
/// <summary> /// Creates a new instance. /// </summary> /// <param name="options">The options that define glob expansion behavior.</param> public Glob(GlobOptions options) : this(options, new FileSystem()) { }