IssuesContext<TParameters, TState> Class

Summary

Base class for parameters and state of the build run.
Assembly
Cake.Frosting.Issues.Recipe.dll
Namespace
Cake.Frosting.Issues.Recipe
Interfaces
Base Types
  • FrostingContext
Derived Types
graph BT Type-->Base0["FrostingContext"] Type-.->Interface0["IIssuesContext"] click Interface0 "/api/Cake.Frosting.Issues.Recipe/IIssuesContext" Type-.->Interface1["IFrostingContext"] Type-.->Interface2["ICakeContext"] Type["IssuesContext<TParameters, TState>"] class Type type-node Derived0["IssuesContext"]-->Type click Derived0 "/api/Cake.Frosting.Issues.Recipe/IssuesContext"

Syntax

public abstract class IssuesContext<TParameters, TState> : FrostingContext, IIssuesContext, 
    IFrostingContext, ICakeContext
    where TParameters : IIssuesParameters where TState : IIssuesState

Type Parameters

Name Description
TParameters Type of the parameters description.
TState Type of the build state description.

Constructors

Name Summary
IssuesContext(ICakeContext) Creates a new instance of the IssuesContext<TParameters, TState> class.

Properties

Name Value Summary
Parameters TParameters
Gets input parameters.
State TState
Gets the mutable state of the build run.

Methods

Name Value Summary
CreateIssuesParameters() TParameters
Factory method to instantiate Parameters.
CreateIssuesState() TState
Factory method to instantiate State.

Extension Methods

Name Value Summary
NotNull<IssuesContext<TParameters, TState>>(string) void
Throws an exception if the specified parameter's value is null.
GitHub