C# 클래스 Sage.ResourceManagement.ResourceName

Represents the path of the resource that may be globalized.
파일 보기 프로젝트 열기: igorfrance/sage 1 사용 예제들

공개 메소드들

메소드 설명
ResourceName ( string filePath, CategoryInfo category ) : System

Initializes a new instance of the ResourceName class.

ToLocale ( string locale ) : string

Returns the locale-specific version of this resource name.

ToLocalePath ( string locale ) : string

Returns the locale-specific version of this resource path.

비공개 메소드들

메소드 설명
DiscoverLocale ( string fileName, CategoryInfo category ) : string

메소드 상세

ResourceName() 공개 메소드

Initializes a new instance of the ResourceName class.
public ResourceName ( string filePath, CategoryInfo category ) : System
filePath string The full path of a file.
category Sage.Configuration.CategoryInfo The resource's category.
리턴 System

ToLocale() 공개 메소드

Returns the locale-specific version of this resource name.
public ToLocale ( string locale ) : string
locale string The locale to use (e.g. fr).
리턴 string

ToLocalePath() 공개 메소드

Returns the locale-specific version of this resource path.
public ToLocalePath ( string locale ) : string
locale string The locale to use (e.g. fr).
리턴 string