Class PollingBuilder
- Namespace
- TypedRest.CodeGeneration.TypeScript.Endpoints.Reactive
- Assembly
- TypedRest.CodeGeneration.TypeScript.dll
Builds TypeScript code for PollingEndpoints, degrading them to plain element endpoints.
public class PollingBuilder : BuilderBase<PollingEndpoint>, IBuilder<PollingEndpoint>, IBuilder
- Inheritance
-
objectPollingBuilder
- Implements
- Inherited Members
Methods
GetBase(string, PollingEndpoint, 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, PollingEndpoint endpoint, IEndpointGenerator generator)
Parameters
keystringendpointPollingEndpointgeneratorIEndpointGenerator
Returns
GetBaseType(PollingEndpoint, IEndpointGenerator)
Returns the TypedRest type the endpoint derives from.
protected override TsIdentifier GetBaseType(PollingEndpoint endpoint, IEndpointGenerator generator)
Parameters
endpointPollingEndpointgeneratorIEndpointGenerator