Table of Contents

Class EntryBuilder

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

Builds C# code snippets for EntryEndpoints.

public class EntryBuilder : BuilderBase<EntryEndpoint>, IBuilder<EntryEndpoint>, IBuilder
Inheritance
object
EntryBuilder
Implements
Inherited Members

Methods

GetImplementationType(EntryEndpoint, INamingStrategy)

protected override CSharpIdentifier GetImplementationType(EntryEndpoint endpoint, INamingStrategy naming)

Parameters

endpoint EntryEndpoint
naming INamingStrategy

Returns

CSharpIdentifier

GetInterfaceType(CSharpIdentifier, bool)

protected override CSharpIdentifier GetInterfaceType(CSharpIdentifier implementationType, bool withInterfaces)

Parameters

implementationType CSharpIdentifier
withInterfaces bool

Returns

CSharpIdentifier

GetParameters(EntryEndpoint)

protected override IEnumerable<CSharpParameter> GetParameters(EntryEndpoint endpoint)

Parameters

endpoint EntryEndpoint

Returns

IEnumerable<CSharpParameter>