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.7zip.
Summary
Base for builders that support
BaseOutputCommand<T>.
- Assembly
- Cake
.7zip .dll - Namespace
- Cake
.SevenZip .Builder - Base Types
-
- Object
- Derived Types
graph BT
Type-->Base0["Object"]
Type["BaseOutputBuilder<TBuilder, TOutput>"]
class Type type-node
Derived0["BenchmarkCommandBuilder"]-->Type
click Derived0 "/api/Cake.SevenZip.Builder/BenchmarkCommandBuilder"
Derived1["ListCommandBuilder"]-->Type
click Derived1 "/api/Cake.SevenZip.Builder/ListCommandBuilder"
Derived2["TestCommandBuilder"]-->Type
click Derived2 "/api/Cake.SevenZip.Builder/TestCommandBuilder"
Derived3["InformationCommandBuilder"]-->Type
click Derived3 "/api/Cake.SevenZip.Builder/InformationCommandBuilder"
Derived4["HashCommandBuilder"]-->Type
click Derived4 "/api/Cake.SevenZip.Builder/HashCommandBuilder"
Syntax
public abstract class BaseOutputBuilder<TBuilder, TOutput>
where TBuilder : BaseOutputBuilder<TBuilder, TOutput> where TOutput : IOutput
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Type Parameters
| Name | Description |
|---|---|
| TBuilder | the command-builder that extends this base-class. Only needed for "nice" fluid-tying. |
| TOutput | the output of the BaseOutputCommand<T> supported by this builder. |
Constructors
| Name | Summary |
|---|---|
| BaseOutputBuilder |
Properties
| Name | Value | Summary |
|---|---|---|
| OutputCommand | BaseOutputCommand |
Gets the output command.
|
Methods
| Name | Value | Summary |
|---|---|---|
| WithCommandOutput |
TBuilder |
fluent action to set the output-action of
BaseOutputCommand<T>.
|
| WithCommandRawOutput |
TBuilder |
fluent action to set the raw-output of
BaseOutputCommand<T>.
|
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
|
