コード例 #1
0
        protected override async void OnStart(string[] args)
        {
            var sessionModService = new SessionModService();
            var sessionId         = sessionModService.Login();

            var partService = new PartService(sessionId);
            await partService.SyncParts();
        }
コード例 #2
0
 public static async Task DoSyncPart()
 {
     var partService = new PartService();
     await partService.SyncParts();
 }
コード例 #3
0
 public async Task DoSyncPart(Guid sessionId)
 {
     var partService = new PartService(sessionId);
     await partService.SyncParts();
 }