IRegistryKey Interface

Summary

Represents a Windows registry key.
Namespace
Cake.Core.IO
Interfaces
  • IDisposable
graph BT Type-.->Interface0["IDisposable"] Type["IRegistryKey"] class Type type-node

Syntax

public interface IRegistryKey : IDisposable

Methods

Name Value Summary
GetSubKeyNames() string[]
Gets all sub keys.
GetValue(string) object
Gets the value of the key.
OpenKey(string) IRegistryKey
Opens the sub key with the specified name.

Extension Methods

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