Class DirectoryInfoExtensionMethods
Namespace: Aurigma.DesignAtoms.ExtensionMethods
Assembly: Aurigma.DesignAtoms.dll
Syntax
public static class DirectoryInfoExtensionMethods
Inheritance: System.Object -> DirectoryInfoExtensionMethods
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Methods
GetFilesByExtensions
public static IEnumerable<FileInfo> GetFilesByExtensions(this DirectoryInfo dir, params string[] extensions)
Parameters
| Type | Name | Description |
|---|---|---|
System.IO.DirectoryInfo | dir | |
System.String[] | extensions |
Returns
System.Collections.Generic.IEnumerable<System.IO.FileInfo>