This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestFixture] | |
public class TestSendMessageReceiveEventNoIoC | |
{ | |
private readonly Guid _aggregateId = Guid.NewGuid(); | |
private static readonly ILog Logger = LogManager.GetLogger(typeof (TestSendMessageReceiveEvent)); | |
private readonly ManualResetEvent _received = new ManualResetEvent(false); | |
public TestSendMessageReceiveEventNoIoC() | |
{ | |
BasicConfigurator.Configure(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Test | |
[TestFixture] | |
public class TestSendMessageReceiveEvent | |
{ | |
private IWindsorContainer _container; | |
private readonly Guid _aggregateId = Guid.NewGuid(); | |
private static readonly ILog _Logger = LogManager.GetLogger(typeof (TestSendMessageReceiveEvent)); | |
private readonly ManualResetEvent _received = new ManualResetEvent(false); | |
public TestSendMessageReceiveEvent() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Scenario] | |
public class Test_Bus_Subscriptions_For_Consumers_In_Dummy_Saga_Using_Castle_As_IoC : | |
Given_a_service_bus_instance | |
{ | |
readonly IWindsorContainer _container; | |
public Test_Bus_Subscriptions_For_Consumers_In_Dummy_Saga_Using_Castle_As_IoC() | |
{ | |
_container = new WindsorContainer(); | |
_container.Register( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[STAThread] | |
static void Main() | |
{ | |
_nui = new Runtime(); | |
var app = new Application(); | |
var window = new Window(); | |
InitializeNui(); //Initializing the Runtime object and opening video streams | |
CreateGUI(window); //Setting up a canvas to hold the RGB video and the image attached to the hand of captured person | |
var skeletonFrameReadyObservable = Observable.FromEventPattern(_nui, "SkeletonFrameReady"); | |
var trackedSkeletons = from ev in skeletonFrameReadyObservable |
NewerOlder