Interface IBuilder<TEndpoint>
- Namespace
- TypedRest.CodeGeneration.TypeScript.Endpoints
- Assembly
- TypedRest.CodeGeneration.TypeScript.dll
Builds TypeScript code for TEndpoint.
public interface IBuilder<in TEndpoint> : IBuilder where TEndpoint : IEndpoint
Type Parameters
TEndpointThe type of IEndpoint to generate code for.
- Inherited Members
Methods
Build(string, TEndpoint, IEndpointGenerator)
Builds the getter exposing endpoint on its parent, plus any types needed for it.
(TsGetter getter, IEnumerable<ITsType> types) Build(string key, TEndpoint endpoint, IEndpointGenerator generator)
Parameters
keystringendpointTEndpointgeneratorIEndpointGenerator