DirectoryExtensions Class

Summary

Contains extensions for IDirectory.
Namespace
Cake.Core
Base Types
  • object
graph BT Type-->Base0["object"] Type["DirectoryExtensions"] class Type type-node

Syntax

public static class DirectoryExtensions

Methods

Name Value Summary
GetDirectories(IDirectory, string, SearchScope, Func<IFileSystemInfo, bool>, Action<IFileSystemInfo>) IEnumerable<IDirectory>
Gets directories matching the specified filter and scope, with option to exclude hidden directories.
static
GetDirectories(IDirectory, string, SearchScope, Func<IFileSystemInfo, bool>) IEnumerable<IDirectory>
Gets directories matching the specified filter and scope, with option to exclude hidden directories.
static
GetFiles(IDirectory, string, SearchScope, Func<IFileSystemInfo, bool>, Action<IFileSystemInfo>) IEnumerable<IFile>
Gets files matching the specified filter and scope.
static
GetFiles(IDirectory, string, SearchScope, Func<IFileSystemInfo, bool>) IEnumerable<IFile>
Gets files matching the specified filter and scope.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin