TypeConverterDependencyInjectionExtensions Class

Summary

Extension methods for assisting in Adding TypeConverters to the CakeHost.
graph BT Type-->Base0["Object"] Type["TypeConverterDependencyInjectionExtensions"] class Type type-node

Syntax

public static class TypeConverterDependencyInjectionExtensions

Methods

Name Value Summary
RegisterTypeConverter<TTypeConverter>(CakeHost) CakeHost
Registers a new ITaskArgumentTypeConverter for use in your tasks.
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