Beispiel #1
0
        public static HeadsetPluginManager GetPluginManager(SettingsPluginDataCollection settings)
        {
            HeadsetPluginManager manager = new HeadsetPluginManager();

            manager.LoadSettings(settings);
            return(manager);
        }
 protected virtual void LoadSettings(SettingsPluginDataCollection settings)
 {
     SetPlugins(settings.data.Select(settings_data => settings_data.GetPluginData()).ToArray());
 }
Beispiel #3
0
 public static ContactPluginManager GetPluginManager(SettingsPluginDataCollection settings)
 {
     ContactPluginManager manager = new ContactPluginManager();
     manager.LoadSettings(settings);
     return manager;
 }
 protected virtual void LoadSettings(SettingsPluginDataCollection settings)
 {
     SetPlugins(settings.data.Select(settings_data => settings_data.GetPluginData()).ToArray());
 }