IHash Interface

Summary

Represents a hash (for a given hash-function) in the output of the HashCommand.

Used in IHashOutput and IFileHash.

graph BT Type["IHash"] class Type type-node

Syntax

public interface IHash

Attributes

Type Description
NullableContextAttribute

Properties

Name Value Summary
Hash string
Gets the hash.
HashFunction string
Gets the hash-function.

Extension Methods

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