GitRemote Class

Summary

Representation of a Git remote.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GitRemote"] class Type type-node

Syntax

public sealed class GitRemote

Constructors

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

Properties

Name Value Summary
Name string
Gets the Name.
PushUrl string
Gets the push url.
Url string
Gets the url.

Methods

Name Value Summary
ToString() string
Generates a string representation of GitRemote

Extension Methods

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