Microsoft.Extensions.FileSystemGlobbing Represents a directory Enumerates all files and directories in the directory. Collection of files and directories Returns an instance of that represents a subdirectory The directory name Instance of even if directory does not exist Returns an instance of that represents a file in the directory The file name Instance of even if file does not exist Wraps an instance of and provides implementation of . Initializes an instance of . The . Returns an instance of that represents a subdirectory. If equals '..', this returns the parent directory. The directory name The directory Returns the full path to the directory. Equals the value of . Returns the parent directory. Equals the value of . Represents a file Wraps an instance of to provide implementation of . Initializes instance of to wrap the specified object . The The file name. (Overrides ). Equals the value of . The full path of the file. (Overrides ). Equals the value of . The directory containing the file. (Overrides ). Equals the value of . Shared abstraction for files and directories A string containing the name of the file or directory A string containing the full path of the file or directory The parent directory for the current file or directory Represents a file that was matched by searching using a globbing pattern The path to the file matched, relative to the beginning of the matching search pattern. If the matcher searched for "src/Project/**/*.cs" and the pattern matcher found "src/Project/Interfaces/IFile.cs", then = "Interfaces/IFile.cs" and = "src/Project/Interfaces/IFile.cs". The subpath to the file matched, relative to the first wildcard in the matching search pattern. If the matcher searched for "src/Project/**/*.cs" and the pattern matcher found "src/Project/Interfaces/IFile.cs", then = "Interfaces/IFile.cs" and = "src/Project/Interfaces/IFile.cs". Initializes new instance of The path to the file matched, relative to the beginning of the matching search pattern. The subpath to the file matched, relative to the first wildcard in the matching search pattern. Determines if the specified match is equivalent to the current match using a case-insensitive comparison. The other match to be compared True if and are equal using case-insensitive comparison Determines if the specified object is equivalent to the current match using a case-insensitive comparison. The object to be compared True when Gets a hash for the file pattern match. Some number Avoids using disk for uses like Pattern Matching. Creates a new InMemoryDirectoryInfo with the root directory and files given. The root directory that this FileSystem will use. Collection of file names. If relative paths will be prepended to the paths. Returns an instance of that matches the given. The filename. Instance of if the file exists, null otherwise. This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. Searches the file system for files with names that match specified patterns. Patterns specified in and can use the following formats to match multiple files or directories. exact directory and file name "one.txt" "dir/two.txt" wildcards (*) in file and directory names that represent zero to many characters not including directory separators characters "*.txt"all files with .txt file extension "*.*"all files with an extension "*"all files in top level directory ".*"filenames beginning with '.' - "*word* - all files with 'word' in the filename "readme.*" all files named 'readme' with any file extension "styles/*.css" all files with extension '.css' in the directory 'styles/' "scripts/*/*" all files in 'scripts/' or one level of subdirectory under 'scripts/' "images*/*" all files in a folder with name that is or begins with 'images' arbitrary directory depth ("/**/") "**/*"all files in any subdirectory "dir/**/*"all files in any subdirectory under 'dir/' relative paths '../shared/*' - all files in a diretory named 'shared' at the sibling level to the base directory given to Initializes an instance of using case-insensitive matching Initializes an instance of using the string comparison method specified The to use Add a file name pattern that the matcher should use to discover files. Patterns are relative to the root directory given when is called. Use the forward slash '/' to represent directory separator. Use '*' to represent wildcards in file and directory names. Use '**' to represent arbitrary directory depth. Use '..' to represent a parent directory. The globbing pattern The matcher Add a file name pattern for files the matcher should exclude from the results. Patterns are relative to the root directory given when is called. Use the forward slash '/' to represent directory separator. Use '*' to represent wildcards in file and directory names. Use '**' to represent arbitrary directory depth. Use '..' to represent a parent directory. The globbing pattern The matcher Searches the directory specified for all files matching patterns added to this instance of The root directory for the search Always returns instance of , even if no files were matched Adds multiple exclude patterns to . The matcher to which the exclude patterns are added A list of globbing patterns Adds multiple patterns to include in . See The matcher to which the include patterns are added A list of globbing patterns Searches the directory specified for all files matching patterns added to this instance of The matcher The root directory for the search Absolute file paths of all files matched. Empty enumerable if no files matched given patterns. Matches the file passed in with the patterns in the matcher without going to disk. The matcher that holds the patterns and pattern matching type. The file to run the matcher against. The match results. Matches the file passed in with the patterns in the matcher without going to disk. The matcher that holds the patterns and pattern matching type. The root directory for the matcher to match the file from. The file to run the matcher against. The match results. Matches the files passed in with the patterns in the matcher without going to disk. The matcher that holds the patterns and pattern matching type. The files to run the matcher against. The match results. Matches the files passed in with the patterns in the matcher without going to disk. The matcher that holds the patterns and pattern matching type. The root directory for the matcher to match the files from. The files to run the matcher against. The match results. Represents a collection of Initializes the result with a collection of A collection of Initializes the result with a collection of A collection of A value that determines if has any matches. A collection of Gets a value that determines if this instance of has any matches. Throws an if is null. The reference type argument to validate as non-null. The name of the parameter with which corresponds. Attribute used to indicate a source generator should create a function for marshalling arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time. This attribute is meaningless if the source generator associated with it is not enabled. The current built-in source generator only supports C# and only supplies an implementation when applied to static, partial, non-generic methods. Initializes a new instance of the . Name of the library containing the import. Gets the name of the library containing the import. Gets or sets the name of the entry point to be called. Gets or sets how to marshal string arguments to the method. If this field is set to a value other than , must not be specified. Gets or sets the used to control how string arguments to the method are marshalled. If this field is specified, must not be specified or must be set to . Gets or sets whether the callee sets an error (SetLastError on Windows or errno on other platforms) before returning from the attributed method. Specifies how strings should be marshalled for generated p/invokes Indicates the user is suppling a specific marshaller in . Use the platform-provided UTF-8 marshaller. Use the platform-provided UTF-16 marshaller. Cannot declare path segment before entering a directory. Cannot test directory before entering a directory. Cannot test file before entering a directory. Unexpected StringComparison type: '{0}'. Only 'Ordinal' and 'OrdinalIgnoreCase' are supported. Unexpected StringComparison type: {0} Specifies that null is allowed as an input even if the corresponding type disallows it. Specifies that null is disallowed as an input even if the corresponding type allows it. Specifies that an output may be null even if the corresponding type disallows it. Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns. Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it. Initializes the attribute with the specified return value condition. The return value condition. If the method returns this value, the associated parameter may be null. Gets the return value condition. Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. Initializes the attribute with the specified return value condition. The return value condition. If the method returns this value, the associated parameter will not be null. Gets the return value condition. Specifies that the output will be non-null if the named parameter is non-null. Initializes the attribute with the associated parameter name. The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null. Gets the associated parameter name. Applied to a method that will never return under any circumstance. Specifies that the method will not return if the associated Boolean parameter is passed the specified value. Initializes the attribute with the specified parameter value. The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to the associated parameter matches this value. Gets the condition parameter value. Specifies that the method or property will ensure that the listed field and property members have not-null values. Initializes the attribute with a field or property member. The field or property member that is promised to be not-null. Initializes the attribute with the list of field and property members. The list of field and property members that are promised to be not-null. Gets field or property member names. Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition. Initializes the attribute with the specified return value condition and a field or property member. The return value condition. If the method returns this value, the associated parameter will not be null. The field or property member that is promised to be not-null. Initializes the attribute with the specified return value condition and list of field and property members. The return value condition. If the method returns this value, the associated parameter will not be null. The list of field and property members that are promised to be not-null. Gets the return value condition. Gets field or property member names.