Ejemplo n.º 1
0
        public void XmlSettingsLoad(XmlSettings aSettings, string aCategory)
        {
            Clear();
            //
            int count = aSettings.Load(aCategory, "__Count", 0);

            for (int i = 0; i < count; i++)
            {
                try
                {
                    // Create category name and try to obtain it...
                    string             entityCategory = string.Format("DbgEntity_{0:d5}", i);
                    XmlSettingCategory category       = aSettings[entityCategory];
                    if (category != null)
                    {
                        // Make a new entity object based upon the type
                        DbgEntityDescriptorManager descManager = Engine.DescriptorManager;
                        DbgEntity entity = descManager.Create(category);
                        if (entity != null)
                        {
                            SaveEntity(entity);
                        }
                    }
                }
                catch (Exception)
                {
                }
            }
        }
Ejemplo n.º 2
0
        public DbgEntity Add(FSEntity aFSEntity)
        {
            DbgEntityDescriptorManager descManager = Engine.DescriptorManager;
            //
            DbgEntity entity = descManager.Create(aFSEntity);

            if (entity != null)
            {
                SaveEntity(entity);
            }
            //
            return(entity);
        }
Ejemplo n.º 3
0
        public DbgEngine(ITracer aTracer)
        {
            iTracer = aTracer;

            // Initialise the settings object
            iSettings = new XmlSettings(KDbgEngineXmlSettingsFileName);
            iSettings.Restore();

            iEntityManager     = new DbgEntityManager(this);
            iPluginManager     = new DbgPluginManager(this);
            iConfigManager     = new DbgEntityConfigManager(this);
            iValidationManager = new DbgValidationManager(this);
            iDescriptorManager = new DbgEntityDescriptorManager(this);
        }
Ejemplo n.º 4
0
 public MissingDescriptor(DbgEntityDescriptorManager aManager)
     : base(aManager)
 {
 }
Ejemplo n.º 5
0
 public SymbolDescriptor(DbgEntityDescriptorManager aManager)
     : base(aManager)
 {
 }
 public UnsupportedDescriptor(DbgEntityDescriptorManager aManager)
     : base(aManager)
 {
 }
Ejemplo n.º 7
0
 public CodeDescriptor(DbgEntityDescriptorManager aManager)
     : base(aManager)
 {
 }