コード例 #1
0
 public IAsyncAction Initialize()
 {
     return(Task.Run(async() => {
         this.httpInterfaceManager = new HttpInterfaceManager(Constants.PORT);
         this.httpInterfaceManager.StartServer();
     }).AsAsyncAction());
 }
コード例 #2
0
ファイル: HubController.cs プロジェクト: nunanas21/CIS-109
 public HubController(LocationProvider loc, HttpInterfaceManager server)
 {
     view   = server;
     lp     = loc;
     msgHub = new AzureIoTHub(this);
 }