#### [Abblix\.Oidc\.Server\.Mvc](https://www.abblix.com/en/docs/api/abblix-oidc-server-mvc 'index')
### [Abblix\.Oidc\.Server\.Mvc\.Attributes](https://www.abblix.com/en/docs/api/abblix-oidc-server-mvc/Abblix.Oidc.Server.Mvc.Attributes 'Abblix\.Oidc\.Server\.Mvc\.Attributes')

## 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\.

```csharp
public sealed class GeneratedFromAttribute : System.Attribute
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → [System\.Attribute](https://learn.microsoft.com/en-us/dotnet/api/system.attribute 'System\.Attribute') → GeneratedFromAttribute
### Constructors

## GeneratedFromAttribute\(Type\) Constructor {#Abblix.Oidc.Server.Mvc.Attributes.GeneratedFromAttribute.GeneratedFromAttribute(System.Type)}

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\.

```csharp
public GeneratedFromAttribute(System.Type coreModelType);
```
#### Parameters

###### `coreModelType` [System\.Type](https://learn.microsoft.com/en-us/dotnet/api/system.type 'System\.Type') {#Abblix.Oidc.Server.Mvc.Attributes.GeneratedFromAttribute.GeneratedFromAttribute(System.Type).coreModelType}

The core model type in `Abblix.Oidc.Server.Model` to generate from\.
### Properties

## GeneratedFromAttribute\.CoreModelType Property {#Abblix.Oidc.Server.Mvc.Attributes.GeneratedFromAttribute.CoreModelType}

The core model type the MVC model is generated from\.

```csharp
public System.Type CoreModelType { get; }
```

#### Property Value
[System\.Type](https://learn.microsoft.com/en-us/dotnet/api/system.type 'System\.Type')

## GeneratedFromAttribute\.SupportsGet Property {#Abblix.Oidc.Server.Mvc.Attributes.GeneratedFromAttribute.SupportsGet}

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\)\.

```csharp
public bool SupportsGet { get; init; }
```

#### Property Value
[System\.Boolean](https://learn.microsoft.com/en-us/dotnet/api/system.boolean 'System\.Boolean')
