Click or drag to resize
Json.NET Schema

StringEnumGenerationProviderCanGenerateSchema Method

 
Determines whether this instance can generate a JSchema for the specified object type.

Namespace:  Newtonsoft.Json.Schema.Generation
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public override bool CanGenerateSchema(
	JSchemaTypeGenerationContext context
)

Parameters

context
Type: Newtonsoft.Json.Schema.GenerationJSchemaTypeGenerationContext
The Type and associated information.

Return Value

Type: Boolean
true if this instance can convert the specified object type; otherwise, false.
See Also