Esempio n. 1
0
 public Task <IModuleClient> Create(
     ConnectionStatusChangesHandler statusChangedHandler,
     Func <IModuleClient, Task> initialize) =>
 ModuleClient.Create(Option.None <string>(), this.upstreamProtocol, statusChangedHandler, initialize, this.productInfo);
Esempio n. 2
0
 public static void ExceptionInHandleException(ModuleClient moduleClient, Exception ex, Exception e)
 {
     Log.LogWarning((int)EventIds.ExceptionInHandleException, "Encountered error - {e} while trying to handle error {ex.Message}");
 }