FileExtensions Class

Summary

Extension methods when using Files.
Assembly
Cake.Incubator.dll
Namespace
Cake.Incubator.FileExtensions
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["FileExtensions"] class Type type-node

Syntax

public static class FileExtensions

Attributes

Type Description
CakeNamespaceImportAttribute

Methods

Name Value Summary
Filter(FilePathCollection, string[]) IEnumerable<FilePath>
Filters FilePathCollection by filenames, in the order specified
static
LoadXml(IFile) XDocument
Loads an xml file
static

Extension Methods

Name Value Summary
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