ProjectConnection Class

Summary

Provides both the identity and credentials for a GitLab project
Assembly
Cake.GitLab.dll
Namespace
Cake.GitLab
Interfaces
Base Types
graph BT Type-->Base0["ProjectIdentity"] click Base0 "/api/Cake.GitLab/ProjectIdentity" Base0-->Base1["Object"] Type-.->Interface0["IEquatable<ProjectIdentity>"] Type-.->Interface1["IEquatable<ProjectConnection>"] Type["ProjectConnection"] class Type type-node

Syntax

public class ProjectConnection : ProjectIdentity, IEquatable<ProjectIdentity>, 
    IEquatable<ProjectConnection>

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Properties

Name Value Summary
EqualityContract Type
Server ServerConnection

Methods

Name Value Summary
Equals(object) bool
Equals(ProjectConnection) bool
Indicates whether the current object is equal to another object of the same type.
Equals(ProjectIdentity) bool
FromGitRemoteUrl(string) ProjectIdentity
Determines the GitLab server and project path based on a git repository's remote url
Inherited from ProjectIdentity
static
get_AccessToken() string
get_Namespace() string
Inherited from ProjectIdentity
get_Project() string
Inherited from ProjectIdentity
get_ProjectPath() string
Inherited from ProjectIdentity
get_Server() ServerIdentity
Inherited from ProjectIdentity
GetHashCode() int
Serves as the default hash function.
PrintMembers(StringBuilder) bool
set_AccessToken()
set_Namespace()
Inherited from ProjectIdentity
set_Project()
Inherited from ProjectIdentity
set_ProjectPath()
Inherited from ProjectIdentity
set_Server()
Inherited from ProjectIdentity
ToString() string
TryGetFromGitRemoteUrl(string, ProjectIdentity) bool
Attempts to determine the GitLab server and project path based on a git repository's remote url
Inherited from ProjectIdentity
static

Operators

Name Value Summary
operator !=(ProjectConnection, ProjectConnection) bool
operator !=(ProjectIdentity, ProjectIdentity) bool
Inherited from ProjectIdentity
operator ==(ProjectConnection, ProjectConnection) bool
operator ==(ProjectIdentity, ProjectIdentity) bool
Inherited from ProjectIdentity

Extension Methods

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