/// <summary>
 /// Registers the factory.
 /// </summary>
 /// <param name="slaveFactory">The slave factory.</param>
 /// <remarks></remarks>
 public void RegisterFactory(IFilteredControllerFactory slaveFactory)
 {
     using (new WriteLockDisposable(_locker))
     {
         if (slaveFactory != null && !_slaveFactories.Contains(slaveFactory))
         {
             _slaveFactories.Add(slaveFactory);
         }
     }
 }
 /// <summary>
 /// Registers the factory.
 /// </summary>
 /// <param name="slaveFactory">The slave factory.</param>
 /// <remarks></remarks>
 public void RegisterFactory(IFilteredControllerFactory slaveFactory)
 {
     using (new WriteLockDisposable(_locker))
     {
         if (slaveFactory != null && !_slaveFactories.Contains(slaveFactory))
         {
             _slaveFactories.Add(slaveFactory);
         }
     }
 }