Table of Contents

Class IndexerBuilder

Namespace
TypedRest.CodeGeneration.Jvm.Endpoints
Assembly
TypedRest.CodeGeneration.Jvm.dll

Builds code for IndexerEndpoints.

public class IndexerBuilder : BuilderBase<IndexerEndpoint>, IBuilder<IndexerEndpoint>, IBuilder
Inheritance
object
IndexerBuilder
Implements
Inherited Members

Methods

GetBase(string, IndexerEndpoint, 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 (JvmIdentifier baseType, IEnumerable<IJvmType> types, IEnumerable<JvmExpression> extraArguments) GetBase(string key, IndexerEndpoint endpoint, IEndpointGenerator generator)

Parameters

key string
endpoint IndexerEndpoint
generator IEndpointGenerator

Returns

(JvmIdentifier baseType, IEnumerable<IJvmType> types, IEnumerable<JvmExpression> extraArguments)

GetBaseType(IndexerEndpoint, IEndpointGenerator)

Returns the TypedRest implementation class the endpoint derives from.

protected override JvmIdentifier GetBaseType(IndexerEndpoint endpoint, IEndpointGenerator generator)

Parameters

endpoint IndexerEndpoint
generator IEndpointGenerator

Returns

JvmIdentifier