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
Encapsulates the identity of GitLab server
- Assembly
- Cake
.GitLab .dll - Namespace
- Cake
.GitLab - Interfaces
-
- IEquatable
<ServerIdentity>
- IEquatable
- Base Types
-
- Object
- Derived Types
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IEquatable<ServerIdentity>"]
Type["ServerIdentity"]
class Type type-node
Derived0["ServerConnection"]-->Type
click Derived0 "/api/Cake.GitLab/ServerConnection"
Syntax
public class ServerIdentity : IEquatable<ServerIdentity>
Attributes
Type | Description |
---|---|
Nullable |
|
NullableAttribute |
Constructors
Name | Summary |
---|---|
ServerIdentity |
|
ServerIdentity |
Initializes a new instance of ServerIdentity with the specified protocol, host name and port
|
ServerIdentity |
Initializes a new instance of ServerIdentity with the specified host name and protocol
|
ServerIdentity |
Initializes a new instance of ServerIdentity with the specified host name
|
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.
|
FromUrl |
ServerIdentity |
Initializes a new
ServerIdentity from a server url
static
|
get_Host |
string | |
get_Port |
int | |
get_Protocol |
string | |
get_Url |
string | |
GetHashCode |
int |
Serves as the default hash function.
|
PrintMembers |
bool | |
set_Host |
||
set_Port |
||
set_Protocol |
||
set_Url |
||
ToString |
string |
Operators
Name | Value | Summary |
---|---|---|
operator != |
bool | |
operator == |
bool |
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 IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp 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
|