C# Класс FluentValidation.Resources.StaticResourceAccessorBuilder

Builds a delegate for retrieving a localised resource from a resource type and property name.
Наследование: IResourceAccessorBuilder
Показать файл Открыть проект

Открытые методы

Метод Описание
GetResourceAccessor ( Type resourceType, string resourceName ) : ResourceAccessor

Builds a function used to retrieve the resource.

Защищенные методы

Метод Описание
GetResourceProperty ( Type &resourceType, string &resourceName ) : PropertyInfo

Gets the PropertyInfo for a resource. ResourceType and ResourceName are ref parameters to allow derived types to replace the type/name of the resource before the delegate is constructed.

Описание методов

GetResourceAccessor() публичный Метод

Builds a function used to retrieve the resource.
public GetResourceAccessor ( Type resourceType, string resourceName ) : ResourceAccessor
resourceType System.Type
resourceName string
Результат ResourceAccessor

GetResourceProperty() защищенный Метод

Gets the PropertyInfo for a resource. ResourceType and ResourceName are ref parameters to allow derived types to replace the type/name of the resource before the delegate is constructed.
protected GetResourceProperty ( Type &resourceType, string &resourceName ) : PropertyInfo
resourceType System.Type
resourceName string
Результат System.Reflection.PropertyInfo