ProjectIdentity Class

Summary

Encapsulates the identity of a project on a GitLab server
Assembly
Cake.GitLab.dll
Namespace
Cake.GitLab
Interfaces
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type-.->Interface0["IEquatable<ProjectIdentity>"] Type["ProjectIdentity"] class Type type-node Derived0["ProjectConnection"]-->Type click Derived0 "/api/Cake.GitLab/ProjectConnection"

Syntax

public class ProjectIdentity : IEquatable<ProjectIdentity>

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Properties

Name Value Summary
EqualityContract Type

Methods

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

Operators

Name Value Summary
operator !=(ProjectIdentity, ProjectIdentity) bool
operator ==(ProjectIdentity, ProjectIdentity) bool

Extension Methods

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