public AutoSaveStateMiddleware(BotStateSet botStateSet) { BotStateSet = botStateSet; }
/// <summary> /// Initializes a new instance of the <see cref="AutoSaveStateMiddleware"/> class. /// </summary> /// <param name="botStates">initial list of <see cref="BotState"/> objects to manage.</param> public AutoSaveStateMiddleware(params BotState[] botStates) { BotStateSet = new BotStateSet(botStates); }