C# Class TranslateTool.ResXFile

Show file Open project: petergolde/PurplePen Class Usage Examples

Public Properties

Property Type Description
Culture System.Globalization.CultureInfo
LocalizedFileName string
NonLocalizedFileName string

Public Methods

Method Description
GetString ( string name ) : LocString
HasString ( string name ) : bool
Read ( ) : void
ResXFile ( string nonLocalizedFileName, CultureInfo culture ) : System
ToString ( ) : string
Write ( ) : void

Private Methods

Method Description
AddStringResource ( string name, string value, string comment ) : void
InterestingString ( System.Resources.ResXDataNode dataNode ) : bool
ReadLocalized ( ) : void
ReadNonlocalized ( ) : void

Method Details

GetString() public method

public GetString ( string name ) : LocString
name string
return LocString

HasString() public method

public HasString ( string name ) : bool
name string
return bool

Read() public method

public Read ( ) : void
return void

ResXFile() public method

public ResXFile ( string nonLocalizedFileName, CultureInfo culture ) : System
nonLocalizedFileName string
culture System.Globalization.CultureInfo
return System

ToString() public method

public ToString ( ) : string
return string

Write() public method

public Write ( ) : void
return void

Property Details

Culture public property

public CultureInfo,System.Globalization Culture
return System.Globalization.CultureInfo

LocalizedFileName public property

public string LocalizedFileName
return string

NonLocalizedFileName public property

public string NonLocalizedFileName
return string