GlobPattern Class

Summary

The file system globber pattern.
Namespace
Cake.Core.IO
Base Types
  • object
graph BT Type-->Base0["object"] Type["GlobPattern"] class Type type-node

Syntax

public sealed class GlobPattern

Constructors

Name Summary
GlobPattern(string) Initializes a new instance of the GlobPattern class.

Properties

Name Value Summary
Pattern string
Gets the the globber pattern.

Methods

Name Value Summary
Equals(object) bool
Determines whether two GlobPattern. instances are equal.
FromString(string) GlobPattern
Performs a conversion from string to GlobPattern.
static
GetHashCode() int
Returns the hash code for the GlobPattern.
ToString() string
Returns a string that represents this instance.

Operators

Name Value Summary
implicit operator GlobPattern(string) GlobPattern
implicit operator string(GlobPattern) string

Extension Methods

Name Value Summary
Dump<GlobPattern>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GlobPattern>(GlobPattern[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GlobPattern>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<GlobPattern>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<GlobPattern>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GlobPattern>(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
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin