SearchScope Enum

Summary

Represents a search scope.
Namespace
Cake.Core.IO
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["SearchScope"] class Type type-node

Syntax

public enum SearchScope

Fields

Name Constant Value Summary
Current 0
The current directory.
static
Recursive 1
The current directory and child directories.
static

Extension Methods

Name Value Summary
Dump<SearchScope>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<SearchScope>(SearchScope[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<SearchScope>(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<SearchScope>(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