public TestBase() { var glue = new ProjectGlue(); glue.Init(); Container = glue.Container; }
private async void SendDataAsync() { var glue = new ProjectGlue(); glue.Init(); var discoveryService = glue.Container.Resolve <IDiscoveryService>(); await discoveryService.PerformDiscovery(); var sendDumpService = glue.Container.Resolve <ISendDumpService>(); var entity = new DumpWireEntity { Id = Guid.NewGuid(), EncodedData = _encodedData, RawData = _rawData, MediaType = _mediaType }; await sendDumpService.SendDump(entity); DoneClicked(null); }
public TestBase() { var g = new ProjectGlue(); Container = g.Init(); }