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
A
ICakeContext
that provides a implementation of IGitLabProvider
for use with the Cake.GitLab
aliases (GitLabAliases
)
- Assembly
- Cake
.GitLab .dll - Namespace
- Cake
.GitLab .Testing - Interfaces
-
- ICakeContext
graph BT
Type-.->Interface0["ICakeContext"]
Type["IGitLabCakeContext"]
class Type type-node
Syntax
public interface IGitLabCakeContext : ICakeContext
Remarks
When one of the aliases from
GitLabAliases
is used with a Cake context that implements this interface,
the provider returned by GitLab
will be used instead of the default implementation of the aliases.
(IGitLabProvider
defines methods that correspond 1:1 to alias definitions in GitLabAliases
).
USe this to provide mock/test implementations of IGitLabProvider
for (unit-)testing.
Attributes
Type | Description |
---|---|
Nullable |
Properties
Name | Value | Summary |
---|---|---|
GitLab | IGitLabProvider |
Gets the
IGitLabProvider to use.
|
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
|