Class StreamingBuilder
- Namespace
- TypedRest.CodeGeneration.TypeScript.Endpoints.Reactive
- Assembly
- TypedRest.CodeGeneration.TypeScript.dll
Builds TypeScript code for StreamingEndpoints, degrading them to plain endpoints.
public class StreamingBuilder : BuilderBase<StreamingEndpoint>, IBuilder<StreamingEndpoint>, IBuilder
- Inheritance
-
objectStreamingBuilder
- Implements
- Inherited Members
Methods
GetBase(string, StreamingEndpoint, IEndpointGenerator)
Returns the TypedRest type the endpoint derives from, any additional types generated along the way, and any constructor arguments beyond the referrer and the relative URI.
protected override (TsIdentifier baseType, IEnumerable<ITsType> types, IEnumerable<TsExpression> extraArguments) GetBase(string key, StreamingEndpoint endpoint, IEndpointGenerator generator)
Parameters
keystringendpointStreamingEndpointgeneratorIEndpointGenerator
Returns
GetBaseType(StreamingEndpoint, IEndpointGenerator)
Returns the TypedRest type the endpoint derives from.
protected override TsIdentifier GetBaseType(StreamingEndpoint endpoint, IEndpointGenerator generator)
Parameters
endpointStreamingEndpointgeneratorIEndpointGenerator