ResourceTempFile Class

Summary

Creates a temporary file from an embedded resource.
Assembly
Cake.Issues.Testing.dll
Namespace
Cake.Issues.Testing
Interfaces
  • IDisposable
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IDisposable"] Type["ResourceTempFile"] class Type type-node

Syntax

public sealed class ResourceTempFile : IDisposable

Constructors

Name Summary
ResourceTempFile(string) Initializes a new instance of the ResourceTempFile class.

Properties

Name Value Summary
Content byte[]
Gets the content which was written to the temporary file.
FileName string
Gets the name of the temporary file.

Methods

Name Value Summary
Dispose() void

Extension Methods

Name Value Summary
NotNull<ResourceTempFile>(string) void
Throws an exception if the specified parameter's value is null.
GitHub