MvcDataAnnotationsLocalizationOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides programmatic configuration for DataAnnotations localization in the MVC framework.
public ref class MvcDataAnnotationsLocalizationOptions
public ref class MvcDataAnnotationsLocalizationOptions : System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::Infrastructure::ICompatibilitySwitch ^>
public class MvcDataAnnotationsLocalizationOptions
public class MvcDataAnnotationsLocalizationOptions : System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch>
type MvcDataAnnotationsLocalizationOptions = class
type MvcDataAnnotationsLocalizationOptions = class
interface seq<ICompatibilitySwitch>
interface IEnumerable
Public Class MvcDataAnnotationsLocalizationOptions
Public Class MvcDataAnnotationsLocalizationOptions
Implements IEnumerable(Of ICompatibilitySwitch)
- Inheritance
-
MvcDataAnnotationsLocalizationOptions
- Implements
Constructors
MvcDataAnnotationsLocalizationOptions() |
Instantiates a new instance of the MvcDataAnnotationsLocalizationOptions class. |
Fields
DataAnnotationLocalizerProvider |
The delegate to invoke for creating IStringLocalizer. |
Properties
AllowDataAnnotationsLocalizationForEnumDisplayAttributes |
Gets or sets a value that determines if DataAnnotationLocalizerProvider should be used while localizing Enum types.
If set to |
Methods
GetEnumerator() |
Explicit Interface Implementations
IEnumerable.GetEnumerator() | |
IEnumerable<ICompatibilitySwitch>.GetEnumerator() |