FakeFileExtensions.

GetBinaryContent(FakeFile) Method

Summary

Gets the binary content of the specified file.
Namespace
Cake.Testing
Containing Type
FakeFileExtensions

Syntax

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2202:Do not dispose objects multiple times")]
public static byte[] GetBinaryContent(this FakeFile file)

Attributes

Type Description
SuppressMessageAttribute

Parameters

Name Type Description
file FakeFile The file.

Return Value

Type Description
byte[] The binary content of the specified file.