IGlobber Interface

Summary

Represents a file system globber.
Namespace
Cake.Core.IO
Implementing Types
graph BT Type["IGlobber"] class Type type-node Implementing0["Globber"]-.->Type click Implementing0 "/api/Cake.Core.IO/Globber"

Syntax

public interface IGlobber

Methods

Name Value Summary
Match(GlobPattern, GlobberSettings) IEnumerable<Path>
Returns Path instances matching the specified pattern.

Extension Methods

Name Value Summary
Dump<IGlobber>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
GetDirectories(GlobPattern) IEnumerable<DirectoryPath>
Gets all directories matching the specified pattern.
GetDirectories(string) IEnumerable<DirectoryPath>
Gets all directories matching the specified pattern.
GetFiles(GlobPattern) IEnumerable<FilePath>
Gets all files matching the specified pattern.
GetFiles(string) IEnumerable<FilePath>
Gets all files matching the specified pattern.
IsIn<IGlobber>(IGlobber[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
Match(GlobPattern) IEnumerable<Path>
Returns Path instances matching the specified pattern.
Match(string) IEnumerable<Path>
Returns Path instances matching the specified pattern.
NotNull<IGlobber>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<IGlobber>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<IGlobber>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<IGlobber>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin