示例#1
0
 /// <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;
 }
示例#2
0
 /// <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())
 {
 }