Ejemplo n.º 1
0
		public void Add(IMusicGenerator generator)
		{
			lock (_syncRoot)
			{
				InfoObject info = new InfoObject(this, _outputDevice, _clock);
				generator.Setup(info);
				_generators.Add(Tuple.Create(generator, info, new PrivateInfoObject()));
			}
		}
Ejemplo n.º 2
0
 public void Add(IMusicGenerator generator)
 {
     lock (_syncRoot)
     {
         InfoObject info = new InfoObject(this, _outputDevice, _clock);
         generator.Setup(info);
         _generators.Add(Tuple.Create(generator, info, new PrivateInfoObject()));
     }
 }