ContainerRegistrarExtensions Class

Summary

Contains extension methods for ICakeContainerRegistrar.
Namespace
Cake.Core.Composition
Base Types
  • object
graph BT Type-->Base0["object"] Type["ContainerRegistrarExtensions"] class Type type-node

Syntax

public static class ContainerRegistrarExtensions

Methods

Name Value Summary
As<TRegistration>(ICakeRegistrationBuilder) ICakeRegistrationBuilder
Adds a registration type to an existing registration builder.
static
RegisterType<TImplementation>(ICakeContainerRegistrar) ICakeRegistrationBuilder
Registers a type with the container registrar.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin