Exemple #1
0
        public IDeviceProvider Create(DeviceInformation provider, Hashtable parameterOverwrites)
        {
            // Clone hashtable
            Hashtable settings = new Hashtable(Settings);

            // Merge
            foreach (DictionaryEntry parameter in parameterOverwrites)
            {
                // Merge in
                settings[parameter.Key] = parameter.Value;
            }

            // Forward
            return provider.Create(settings);
        }
Exemple #2
0
 public IDeviceProvider Create(DeviceInformation provider)
 {
     // Forward
     return provider.Create(Settings);
 }