示例#1
0
        private void OnStartup(object sender, StartupEventArgs eventArgs)
        {
            _ipcClient = CreateGrpcClient();
            _ipcClient.Start();

            var acquisitionManagerProxy = CreateGrpcAcquisitionManagerProxy(_ipcClient);

            ServiceLocator.Instance.RegisterService <IAcquisitionManager>(acquisitionManagerProxy);
        }