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
-
objectJvmElementFactory
Constructors
JvmElementFactory(JvmExpression)
A lambda taking a referrer and a relative URI and returning an endpoint.
public JvmElementFactory(JvmExpression body)
Parameters
bodyJvmExpressionThe expression the lambda returns.
Fields
ReferrerParameter
The name of the referrer parameter.
public const string ReferrerParameter = "elementReferrer"
Field Value
RelativeUriParameter
The name of the relative URI parameter.
public const string RelativeUriParameter = "elementUri"
Field Value
Properties
Body
The expression the lambda returns, in terms of ReferrerParameter and RelativeUriParameter.
public JvmExpression Body { get; }
Property Value
Methods
GetImports()
Returns every type that has to be imported to write this expression.
public override IEnumerable<JvmIdentifier> GetImports()