Home ContextExtensions Class
ContextExtensions Class
Cancel

ContextExtensions Class

Namespace: Json.Schema.Generation

Inheritance: ContextExtensions 🡒 object

Extension methods for context objects.

Methods

GetAttributes(this SchemaGenerationContextBase context)

Gets the attribute set. Type contexts get type attributes; member context get member attributes.

Declaration

1
public static IEnumerable<Attribute> GetAttributes(this SchemaGenerationContextBase context)
ParameterTypeDescription
contextSchemaGenerationContextBaseThe context.

Returns

The attribute set.

Contents