GeneratedFromAttribute Class
Marks a partial MVC model record whose members are produced by the MVC model source generator from the given core model type: bound properties with model binders resolved from the core wire-format markers, validation attributes translated to their executable MVC counterparts, and the mapping method projecting the bound model back onto the core type.
public sealed class GeneratedFromAttribute : System.AttributeInheritance System.Object → System.Attribute → GeneratedFromAttribute
Constructors
GeneratedFromAttribute(Type) Constructor
Marks a partial MVC model record whose members are produced by the MVC model source generator from the given core model type: bound properties with model binders resolved from the core wire-format markers, validation attributes translated to their executable MVC counterparts, and the mapping method projecting the bound model back 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 MVC model is generated from.
public System.Type CoreModelType { get; }Property Value
GeneratedFromAttribute.SupportsGet Property
Indicates that the endpoint accepts the request via HTTP GET as well, so every generated bound property carries the corresponding flag (e.g. the authorization and end-session endpoints).
public bool SupportsGet { get; init; }