| | |
| | | namespace TableConfig { |
| | | |
| | | |
| | | public partial class PriorLanguageConfig : ConfigBase { |
| | | public partial class PriorLanguageConfig : ConfigBase {
|
| | |
|
| | | public int Key { get ; private set ; }
|
| | | public string Content { get ; private set; } |
| | | |
| | | public int Key { get ; private set ; } |
| | | public string Content { get ; private set; } |
| | | |
| | | public override string getKey() |
| | | { |
| | | return Key.ToString(); |
| | | public override string getKey()
|
| | | {
|
| | | return Key.ToString();
|
| | | } |
| | | |
| | | public override void Parse() { |
| | | try |
| | | { |
| | | Key=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | Content = rawContents[1].Trim(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | DesignDebug.Log(ex); |
| | | try
|
| | | {
|
| | | Key=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; |
| | | |
| | | Content = rawContents[1].Trim();
|
| | | }
|
| | | catch (Exception ex)
|
| | | {
|
| | | DesignDebug.Log(ex);
|
| | | } |
| | | } |
| | | |