GeneratedFromAttribute Class
Marks a partial Minimal API request-model record whose members are produced by the Minimal API model source
generator from the given core model type: the bound properties, a static BindAsync(HttpContext) that reads
each property from the form/query/headers/connection per the core wire-format markers, the executable validation
attributes translated from the core declarative markers, and the implicit operator projecting the bound model onto
the core type.
public sealed class GeneratedFromAttribute : System.AttributeInheritance System.Object → System.Attribute → GeneratedFromAttribute
Constructors
GeneratedFromAttribute(Type) Constructor
Marks a partial Minimal API request-model record whose members are produced by the Minimal API model source
generator from the given core model type: the bound properties, a static BindAsync(HttpContext) that reads
each property from the form/query/headers/connection per the core wire-format markers, the executable validation
attributes translated from the core declarative markers, and the implicit operator projecting the bound model onto
the core type.
public GeneratedFromAttribute(System.Type coreModelType);Parameters
coreModelType System.Type
The core model type in Abblix.Oidc.Server.Model to generate from.
Properties
GeneratedFromAttribute.CoreModelType Property
The core model type the Minimal API model is generated from.
public System.Type CoreModelType { get; }Property Value
GeneratedFromAttribute.SupportsGet Property
Indicates that the endpoint also accepts the request via HTTP GET, so the generated BindAsync reads each
value from the query string as well as the posted form (the authorization, userinfo and end-session endpoints).
public bool SupportsGet { get; init; }