ProtectionDataModelModelBinder

Protects an IDataModel properties that has protection settings.

Namespace:
KpokPatagon.AspNet.Binders
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No

Constructors

ProtectionDataModelModelBinder

Initializes a new instance of ProtectionDataModelModelBinder.

Signature:
public Void ProtectionDataModelModelBinder(cryptographer, defaultBinder)
Parameters
Name Type Summary
cryptographer ICryptographer
defaultBinder IModelBinder

Methods

BindModelAsync

Binds the model.

Signature:
public Task BindModelAsync(bindingContext)
Parameters
Name Type Summary
bindingContext ModelBindingContext