/// <summary> /// Creates a new LIFX client. /// </summary> /// <returns>client</returns> public static Task <LifxClient> CreateAsync() { LifxClient client = new LifxClient(); client.Initialize(); return(Task.FromResult(client)); }
/// <summary> /// Creates a new LIFX client. /// </summary> /// <returns>client</returns> public static Task <LifxClient> CreateAsync(ILogger logger) { LifxClient client = new LifxClient(new ConversationClient(logger), logger); client.Initialize(); return(Task.FromResult(client)); }