Esempio n. 1
0
 public void Merge(Profile destination)
 {
     foreach (var pair in _instances)
     {
         destination.SetDefault(pair.Key, pair.Value);
     }
 }
Esempio n. 2
0
        public void SetDefault(string profileName, Type pluginType, Instance instance)
        {
            Profile profile = getProfile(profileName);

            profile.SetDefault(pluginType, instance);
            if (profileName == _defaultProfileName)
            {
                _default.FillTypeInto(pluginType, instance);
                _currentProfile.FillTypeInto(pluginType, instance);
            }
        }
Esempio n. 3
0
 public void Merge(Profile destination)
 {
     foreach (var pair in _instances)
     {
         destination.SetDefault(pair.Key, pair.Value);
     }
 }
Esempio n. 4
0
 public void SetDefault(Type pluginType, Instance instance)
 {
     _currentProfile.SetDefault(pluginType, instance);
     _default.FillTypeInto(pluginType, instance);
 }