C# Class DDay.iCal.Validator.ResourceManager

Mostra file Open project: ddaysoftware/icalvalid Class Usage Examples

Public Methods

Method Description
GetError ( string key ) : string
GetResolutions ( string key ) : string[]
GetString ( string key ) : string
Initialize ( IXmlDocumentProvider docProvider, bool forceEnglishOnNotFound ) : bool
Initialize ( IXmlDocumentProvider docProvider, string language ) : bool
ResourceManager ( ) : System

Private Methods

Method Description
EnsureXmlDocument ( ) : bool
ParseLanguageIdentifiers ( string language ) : void
PrepareForStringFormatting ( string s ) : string
ToCamelCase ( string s ) : string

Method Details

GetError() public method

public GetError ( string key ) : string
key string
return string

GetResolutions() public method

public GetResolutions ( string key ) : string[]
key string
return string[]

GetString() public method

public GetString ( string key ) : string
key string
return string

Initialize() public method

public Initialize ( IXmlDocumentProvider docProvider, bool forceEnglishOnNotFound ) : bool
docProvider IXmlDocumentProvider
forceEnglishOnNotFound bool
return bool

Initialize() public method

public Initialize ( IXmlDocumentProvider docProvider, string language ) : bool
docProvider IXmlDocumentProvider
language string
return bool

ResourceManager() public method

public ResourceManager ( ) : System
return System