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.Endpoint.
Summary
Creates endpoints by copying all files and directories accoring to the endpoint definition.
- Assembly
- Cake
.Endpoint .dll - Namespace
- Cake
.Endpoint - Containing Type
- EndpointAliases
Syntax
public static void EndpointCreate(this ICakeContext context, IEnumerable<Endpoint> endpoints)
Examples
Cake task:
Task("Create")
.Does(() =>
{
var endpoints = DeserializeJsonFromFile<IEnumerable<Endpoint>>( "./endpoints.json" );
EndpointCreate( endpoints );
});
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
endpoints | IEnumerable |
Required. Endpoint list defining all files and directories. |
Return Value
Type | Description |
---|---|
void |