Skip to main content

Class DirectoryInfoExtensionMethods

Namespace: Aurigma.DesignAtoms.ExtensionMethods
Assembly: Aurigma.DesignAtoms.dll
Syntax
public static class DirectoryInfoExtensionMethods

Inheritance: System.Object -> DirectoryInfoExtensionMethods

Inherited Members

  • System.Object.ToString
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone

Methods

GetFilesByExtensions

public static IEnumerable<FileInfo> GetFilesByExtensions(this DirectoryInfo dir, params string[] extensions)
Parameters
TypeNameDescription
System.IO.DirectoryInfodir
System.String[]extensions
Returns

System.Collections.Generic.IEnumerable<System.IO.FileInfo>

Was this page helpful?