Ejemplo n.º 1
0
        public UserInterfaceThreadSynchronizerTest()
        {
            this.synchronizationContext = new TestSynchronizationContext();
            this.logExtension           = A.Fake <IUserInterfaceThreadSynchronizerLogExtension>();

            this.testee = new UserInterfaceThreadSynchronizer(this.synchronizationContext, this.logExtension);
        }
        public UserInterfaceThreadSynchronizerTest()
        {
            this.synchronizationContext = new TestSynchronizationContext();
            this.logExtension = A.Fake<IUserInterfaceThreadSynchronizerLogExtension>();

            this.testee = new UserInterfaceThreadSynchronizer(this.synchronizationContext, this.logExtension);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserInterfaceThreadSynchronizer"/> class.
 /// </summary>
 /// <param name="synchronizationContext">The synchronization context used for synchronization.</param>
 /// <param name="logExtension">The log extension used to log synchronization events.</param>
 public UserInterfaceThreadSynchronizer(SynchronizationContext synchronizationContext, IUserInterfaceThreadSynchronizerLogExtension logExtension)
 {
     this.synchronizationContext = synchronizationContext;
     this.logExtension           = logExtension;
 }