Namespace: Json.Schema.Generation.Intents
Inheritance: RefIntent 🡒 object
Implemented interfaces:
- ISchemaKeywordIntent
 
Provides intent to create a $ref keyword.
Properties
| Name | Type | Summary | 
|---|---|---|
| Reference | Uri | The reference. | 
Constructors
RefIntent(Uri reference)
Creates a new Json.Schema.Generation.Intents.RefIntent instance.
Declaration
1
public RefIntent(Uri reference)
| Parameter | Type | Description | 
|---|---|---|
| reference | Uri | The reference. | 
RefIntent(MemberGenerationContext context, Uri reference)
Creates a new Json.Schema.Generation.Intents.RefIntent instance.
Declaration
1
public RefIntent(MemberGenerationContext context, Uri reference)
| Parameter | Type | Description | 
|---|---|---|
| context | MemberGenerationContext | The context that holds this reference. | 
| reference | Uri | The reference. | 
Methods
Apply(JsonSchemaBuilder builder)
Applies the keyword to the Json.Schema.JsonSchemaBuilder.
Declaration
1
public void Apply(JsonSchemaBuilder builder)
| Parameter | Type | Description | 
|---|---|---|
| builder | JsonSchemaBuilder | The builder. |