/// <summary>
 /// Clones a new <see cref="ComponentParameters"/> instance from the given <see cref="ComponentParameters"/> instance.
 /// </summary>
 /// <param name="source">Source instance to clone.</param>
 public ComponentParameters( ComponentParameters source )
     : base()
 {
     lock( source._syncRoot )
     {
         foreach( KeyValuePair<string, object> pair in source._settings )
         {
             ICloneable cloneable = pair.Value as ICloneable;
             if( cloneable != null )
                 _settings.Add( pair.Key, cloneable.Clone() );
             else
                 _settings.Add( pair.Key, pair.Value );
         }
     }
 }
 /// <summary>
 /// Clones a new <see cref="ComponentParameters"/> instance from the given <see cref="ComponentParameters"/> instance.
 /// </summary>
 /// <param name="source">Source instance to clone.</param>
 public ComponentParameters(ComponentParameters source)
     : base()
 {
     lock (source._syncRoot)
     {
         foreach (KeyValuePair <string, object> pair in source._settings)
         {
             ICloneable cloneable = pair.Value as ICloneable;
             if (cloneable != null)
             {
                 _settings.Add(pair.Key, cloneable.Clone());
             }
             else
             {
                 _settings.Add(pair.Key, pair.Value);
             }
         }
     }
 }
Beispiel #3
0
		public IComponentConfiguration CreateConfiguration( ComponentParameters parameters )
		{
			return null;
		}
Beispiel #4
0
		public IList<ComponentIssue> Test( ComponentParameters parameters )
		{
			return null;
		}
Beispiel #5
0
		public IComponentInstance CreateInstance( IEmulationInstance emulator, ComponentParameters parameters )
		{
			return null;
		}
Beispiel #6
0
 public IComponentConfiguration CreateConfiguration(ComponentParameters parameters)
 {
     return(null);
 }
Beispiel #7
0
 public IList <ComponentIssue> Test(ComponentParameters parameters)
 {
     return(null);
 }
Beispiel #8
0
 public IComponentInstance CreateInstance(IEmulationInstance emulator, ComponentParameters parameters)
 {
     return(null);
 }