Table of Contents

Class DisambiguateAttribute

Namespace
MRX.Core.ModelBinding.Attributes
Assembly
MRX.Core.dll

Marks a controller or action as opting in to prefixing validation error keys with their binding source, so that colliding keys from different binding sources can be disambiguated.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method)]
public class DisambiguateAttribute : Attribute, IFeatureDescriptor
Inheritance
DisambiguateAttribute
Implements
Inherited Members

Properties

FeatureName

The name of the feature this descriptor represents.

public string FeatureName { get; }

Property Value

string