Exemple #1
0
        public TestBase()
        {
            var glue = new ProjectGlue();

            glue.Init();

            Container = glue.Container;
        }
Exemple #2
0
        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);
        }
Exemple #3
0
        public TestBase()
        {
            var g = new ProjectGlue();

            Container = g.Init();
        }