C# 클래스 FluentValidation.Resources.StaticResourceAccessorBuilder

Builds a delegate for retrieving a localised resource from a resource type and property name.
상속: IResourceAccessorBuilder
파일 보기 프로젝트 열기: JeremySkinner/FluentValidation

공개 메소드들

메소드 설명
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