Table of Contents

Interface IBuilder

Namespace
TypedRest.CodeGeneration.TypeScript.Endpoints
Assembly
TypedRest.CodeGeneration.TypeScript.dll

Builds TypeScript code for a specific kind of IEndpoint.

public interface IBuilder

Methods

Build(string, IEndpoint, IEndpointGenerator)

Builds the getter exposing endpoint on its parent, plus any types needed for it.

(TsGetter getter, IEnumerable<ITsType> types) Build(string key, IEndpoint endpoint, IEndpointGenerator generator)

Parameters

key string
endpoint IEndpoint
generator IEndpointGenerator

Returns

(TsGetter getter, IEnumerable<ITsType> types)