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 server
- Assembly
- Cake
.GitLab .dll - Namespace
- Cake
.GitLab - Interfaces
-
- IEquatable
<ServerIdentity> - IEquatable
<ServerConnection>
- IEquatable
- Base Types
-
- Object
- ServerIdentity
graph BT
Type-->Base0["ServerIdentity"]
click Base0 "/api/Cake.GitLab/ServerIdentity"
Base0-->Base1["Object"]
Type-.->Interface0["IEquatable<ServerIdentity>"]
Type-.->Interface1["IEquatable<ServerConnection>"]
Type["ServerConnection"]
class Type type-node
Syntax
public class ServerConnection : ServerIdentity, IEquatable<ServerIdentity>,
IEquatable<ServerConnection>
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
Properties
| Name | Value | Summary |
|---|---|---|
| EqualityContract | Type |
Methods
| Name | Value | Summary |
|---|---|---|
| Equals |
bool | |
| Equals |
bool |
Indicates whether the current object is equal to another object of the same type.
|
| Equals |
bool | |
| FromUrl |
ServerIdentity |
Initializes a new
ServerIdentity from a server url
Inherited from ServerIdentity
static
|
| get_AccessToken |
string | |
| get_Host |
string |
Inherited from ServerIdentity
|
| get_Port |
int |
Inherited from ServerIdentity
|
| get_Protocol |
string |
Inherited from ServerIdentity
|
| get_Url |
string |
Inherited from ServerIdentity
|
| GetHashCode |
int |
Serves as the default hash function.
|
| PrintMembers |
bool | |
| set_AccessToken |
||
| set_Host |
Inherited from ServerIdentity
|
|
| set_Port |
Inherited from ServerIdentity
|
|
| set_Protocol |
Inherited from ServerIdentity
|
|
| set_Url |
Inherited from ServerIdentity
|
|
| ToString |
string |
Operators
| Name | Value | Summary |
|---|---|---|
| operator != |
bool | |
| operator != |
bool |
Inherited from ServerIdentity
|
| operator == |
bool | |
| operator == |
bool |
Inherited from ServerIdentity
|
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
|
