Exemplo n.º 1
0
        private IDataParser GetParser(EDataParserType type)
        {
            IDataParser result = null;

            this.m_dicDataParsers.TryGetValue(type, out result);
            return(result);
        }
Exemplo n.º 2
0
 public void AddDataParser(EDataParserType type, IDataParser parser)
 {
     if (this.m_dicDataParsers.ContainsKey(type))
     {
         return;
     }
     this.m_dicDataParsers[type] = parser;
 }