OneOrMoreFilePaths Class

Summary

Represents one or more FilePath
Assembly
Cake.Jekyll.dll
Namespace
Cake.Jekyll.Core.IO
Interfaces
  • IEnumerable<FilePath>
  • IEnumerable
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IEnumerable<FilePath>"] Type-.->Interface1["IEnumerable"] Type["OneOrMoreFilePaths"] class Type type-node

Syntax

public class OneOrMoreFilePaths : IEnumerable<FilePath>, IEnumerable

Attributes

Type Description
DefaultMemberAttribute

Constructors

Properties

Name Value Summary
Count int
Gets the number of file paths contained in the OneOrMoreFilePaths.
this[int] FilePath
Gets the file path at the specified index.

Methods

Name Value Summary
GetEnumerator() IEnumerator<FilePath>
Return an enumerator that iterates through a list of FilePath.

Operators

Name Value Summary
implicit operator OneOrMoreFilePaths(FilePath) OneOrMoreFilePaths
implicit operator OneOrMoreFilePaths(FilePath[]) OneOrMoreFilePaths
implicit operator OneOrMoreFilePaths(List<FilePath>) OneOrMoreFilePaths
implicit operator OneOrMoreFilePaths(List<string>) OneOrMoreFilePaths
implicit operator OneOrMoreFilePaths(string) OneOrMoreFilePaths
implicit operator OneOrMoreFilePaths(string[]) OneOrMoreFilePaths

Extension Methods

Name Value Summary
Dump<OneOrMoreFilePaths>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<OneOrMoreFilePaths>(OneOrMoreFilePaths[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<OneOrMoreFilePaths>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<OneOrMoreFilePaths>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<OneOrMoreFilePaths>(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<OneOrMoreFilePaths>(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
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin