This content is part of a third party extension that is not supported by the Cake project.
Summary
Registers a new
ITaskArgumentTypeConverter
for use in your tasks.
- Assembly
- Cake
.Sprinkles .Module .dll - Namespace
- Cake
.Sprinkles .Module .TypeConversion - Containing Type
- Type
Converter Dependency Injection Extensions
Syntax
public static CakeHost RegisterTypeConverter<TTypeConverter>(this CakeHost host)
where TTypeConverter : class, ITaskArgumentTypeConverter
Attributes
Type | Description |
---|---|
Nullable |
Type Parameters
Name | Description |
---|---|
TTypeConverter | The ITaskArgumentTypeConverter to help convert your type. |
Parameters
Name | Type | Description |
---|---|---|
host | CakeHost | The CakeHost to register with. |
Return Value
Type | Description |
---|---|
CakeHost | The CakeHost with new registration added. |