// ------------------------------------------------------------------------------
|
// <autogenerated>
|
// This code was generated by a tool.
|
// Mono Runtime Version: 2.0.50727.1433
|
//
|
// Changes to this file may cause incorrect behavior and will be lost if
|
// the code is regenerated.
|
// </autogenerated>
|
// ------------------------------------------------------------------------------
|
|
namespace TableConfig
|
{
|
using System;
|
using System.Collections.Generic;
|
using System.Text;
|
|
public partial class RichTextMsgReplaceConfig : ConfigBase, IConfigPostProcess
|
{
|
private static Dictionary<string, RichTextMsgReplaceConfig> m_ReplaceCfgs = new Dictionary<string, RichTextMsgReplaceConfig>();
|
|
public void OnConfigParseCompleted()
|
{
|
m_ReplaceCfgs.Add(StringUtility.Contact(Identification, Number).ToString(), this);
|
}
|
|
public static string GetRichReplace(string identify, int number)
|
{
|
RichTextMsgReplaceConfig replace = null;
|
m_ReplaceCfgs.TryGetValue(StringUtility.Contact(identify, number).ToString(), out replace);
|
if (replace != null)
|
{
|
return replace.Content;
|
}
|
return string.Empty;
|
}
|
}
|
}
|