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

            glue.Init();

            Container = glue.Container;
        }
예제 #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);
        }
예제 #3
0
파일: TestBase.cs 프로젝트: CSEANZ/ArloSdk
        public TestBase()
        {
            var g = new ProjectGlue();

            Container = g.Init();
        }