Ejemplo n.º 1
0
 public static void Create(Settings.MSExcel.DictionaryBlock dictBlock)
 {
     if (s_dictBlock == null)
     {
         s_dictBlock = new DictionaryBlock(dictBlock);
     }
     else
     {
         s_dictBlock.Create(dictBlock);
     }
 }
Ejemplo n.º 2
0
            public void Create(Settings.MSExcel.DictionaryBlock dictBlock)
            {
                foreach (string blockName in dictBlock.Keys)
                {
                    foreach (KeyValuePair <Settings.KEY_ENTITY, Settings.EntityParser.ProxyEntity> pair in dictBlock[blockName].m_dictEntityParser)
                    {
                        AddEntity(blockName, pair.Key.Command, dictDelegateMethodeEntity[pair.Key.Command].newEntity(pair.Value), pair.Key.Name);
                    }

                    //foreach (Settings.MSExcel.BLOCK.PLACEMENT placement in dictBlock[blockName].m_ListReference)
                    //    AddEntity(blockName, pair.Key.Name, dictDelegateMethodeEntity[pair.Key.m_command].newEntity(pair.Value));
                }
            }
Ejemplo n.º 3
0
 public DictionaryBlock(Settings.MSExcel.DictionaryBlock dictBlock) : this()
 {
     Create(dictBlock);
 }