Skip to content

BindsAttribute Class

Declares that the model binder realises the given core wire-format marker from Abblix.Oidc.Server.DeclarativeBinding. The MVC model source generator scans the assembly for these declarations to build its marker-to-binder map, so the knowledge of which binder parses which wire format lives here, next to the binders - the core markers themselves stay purely semantic and binding-technology-free.

C#
public sealed class BindsAttribute : System.Attribute

Inheritance System.ObjectSystem.Attribute → BindsAttribute

Constructors

BindsAttribute(Type) Constructor

Declares that the model binder realises the given core wire-format marker from Abblix.Oidc.Server.DeclarativeBinding. The MVC model source generator scans the assembly for these declarations to build its marker-to-binder map, so the knowledge of which binder parses which wire format lives here, next to the binders - the core markers themselves stay purely semantic and binding-technology-free.

C#
public BindsAttribute(System.Type formatAttributeType);

Parameters

formatAttributeType System.Type

The core wire-format marker attribute type this binder realises.

Properties

BindsAttribute.FormatAttributeType Property

The core wire-format marker attribute type this binder realises.

C#
public System.Type FormatAttributeType { get; }

Property Value

System.Type