public Task <IModuleClient> Create( ConnectionStatusChangesHandler statusChangedHandler, Func <IModuleClient, Task> initialize) => ModuleClient.Create(Option.None <string>(), this.upstreamProtocol, statusChangedHandler, initialize, this.productInfo);
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}"); }