public PreferenceFolderArray(PlugInHost master, PreferenceFolder parent, string id, int index, PreferenceFolder template) : base(parent, id, index) { _master = master; _folders = new ArrayList(); _template = template; }
public void InitializeExtension() { IStartupContextSupplier s = (IStartupContextSupplier)_poderosaWorld.GetAdapter(typeof(IStartupContextSupplier)); int index = 0; foreach (IPreferenceSupplier supplier in _extensionPoint.GetExtensions()) { PlugInHost ph = new PlugInHost(this, supplier, s.Preferences, index++); ph.Build(); //Note 遅延読み込みをしてもいいかも _idToHosts[ph.PreferenceSupplier.PreferenceID] = ph; } }
public PreferenceFolder(PlugInHost master, PreferenceFolder parent, string id, int index) : base(parent, id, index) { _children = new ArrayList(); _master = master; }
public IPreferenceFolder FindPreferenceFolder(string id) { PlugInHost ph = _idToHosts[id]; return(ph == null? null : ph.RootFolder); }