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)
Parameter | Type | Description |
---|---|---|
context | SchemaGenerationContextBase | The context. |
Returns
The attribute set.