コード例 #1
0
        static async Task Main(string[] args)
        {
            ServiceFactory    fctry   = new ServiceFactory();
            ProcessingService service = await fctry.CreateProcessingService();

            CommunicationService comService = await CommunicationService.CreateAsync();
        }
コード例 #2
0
        public async Task <ProcessingService> CreateProcessingService()
        {
            ProcessingService service = new ProcessingService();
            await service.InitializeAsync();

            return(service);
        }