Summary
Contains extensions for
FakeFile
.
- Namespace
- Cake
.Testing - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["FakeFileExtensions"]
class Type type-node
Syntax
public static class FakeFileExtensions
Methods
Name | Value | Summary |
---|---|---|
GetBinaryContent |
byte[] |
Gets the binary content of the specified file.
static
|
GetTextContent |
string |
Gets the text content of the file.
static
|
GetTextContent |
string |
Gets the text content of the file.
static
|
HasUTF8BOM |
bool |
Determines if a specified file has a UTF-8 BOM.
static
|
Hide |
FakeFile |
Hides the specified file.
static
|
SetContent |
FakeFile |
Sets the content of the provided file.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|