This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.GitLab.
Summary
Provides both the identity and credentials for a GitLab project
- Assembly
- Cake
.GitLab .dll - Namespace
- Cake
.GitLab - Interfaces
-
- IEquatable
<ProjectIdentity> - IEquatable
<ProjectConnection>
- IEquatable
- Base Types
-
- Object
- ProjectIdentity
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 |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
Properties
| Name | Value | Summary |
|---|---|---|
| EqualityContract | Type | |
| Server | ServerConnection |
Methods
| Name | Value | Summary |
|---|---|---|
| Equals |
bool | |
| Equals |
bool |
Indicates whether the current object is equal to another object of the same type.
|
| Equals |
bool | |
| FromGitRemoteUrl |
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 |
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 | |
| Try |
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 != |
bool | |
| operator != |
bool |
Inherited from ProjectIdentity
|
| operator == |
bool | |
| operator == |
bool |
Inherited from ProjectIdentity
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
