Table of Contents

Class IndexerBuilder

Namespace
TypedRest.CodeGeneration.CSharp.Endpoints.Generic
Assembly
TypedRest.CodeGeneration.CSharp.dll

Builds C# code snippets for IndexerEndpoints.

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

Methods

GetAdditional(string, IndexerEndpoint, IEndpointGenerator)

protected override (IEnumerable<ICSharpType> types, IEnumerable<CSharpIdentifier> typeArguments) GetAdditional(string key, IndexerEndpoint endpoint, IEndpointGenerator generator)

Parameters

key string
endpoint IndexerEndpoint
generator IEndpointGenerator

Returns

(IEnumerable<ICSharpType> types, IEnumerable<CSharpIdentifier> typeArguments)

GetImplementationType(IndexerEndpoint, INamingStrategy)

protected override CSharpIdentifier GetImplementationType(IndexerEndpoint endpoint, INamingStrategy naming)

Parameters

endpoint IndexerEndpoint
naming INamingStrategy

Returns

CSharpIdentifier

GetInterfaceType(CSharpIdentifier, bool)

protected override CSharpIdentifier GetInterfaceType(CSharpIdentifier implementationType, bool withInterfaces)

Parameters

implementationType CSharpIdentifier
withInterfaces bool

Returns

CSharpIdentifier