Table of Contents

Class JvmElementFactory

Namespace
TypedRest.CodeGeneration.Jvm.Model
Assembly
TypedRest.CodeGeneration.Jvm.dll

A lambda taking a referrer and a relative URI and returning an endpoint.

public sealed class JvmElementFactory : JvmExpression
Inheritance
object
JvmElementFactory

Constructors

JvmElementFactory(JvmExpression)

A lambda taking a referrer and a relative URI and returning an endpoint.

public JvmElementFactory(JvmExpression body)

Parameters

body JvmExpression

The expression the lambda returns.

Fields

ReferrerParameter

The name of the referrer parameter.

public const string ReferrerParameter = "elementReferrer"

Field Value

string

RelativeUriParameter

The name of the relative URI parameter.

public const string RelativeUriParameter = "elementUri"

Field Value

string

Properties

Body

The expression the lambda returns, in terms of ReferrerParameter and RelativeUriParameter.

public JvmExpression Body { get; }

Property Value

JvmExpression

Methods

GetImports()

Returns every type that has to be imported to write this expression.

public override IEnumerable<JvmIdentifier> GetImports()

Returns

IEnumerable<JvmIdentifier>