Table of Contents

Class PollingBuilder

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

Builds TypeScript code for PollingEndpoints.

public class PollingBuilder : BuilderBase<PollingEndpoint>, IBuilder<PollingEndpoint>, IBuilder
Inheritance
object
PollingBuilder
Implements
Inherited Members

Remarks

The optional endCondition is a function, so there is nothing in the document to pass for it.

Methods

GetBaseType(PollingEndpoint, IEndpointGenerator)

Returns the TypedRest type the endpoint derives from.

protected override TsIdentifier GetBaseType(PollingEndpoint endpoint, IEndpointGenerator generator)

Parameters

endpoint PollingEndpoint
generator IEndpointGenerator

Returns

TsIdentifier