示例#1
0
 public AutoSaveStateMiddleware(BotStateSet botStateSet)
 {
     BotStateSet = botStateSet;
 }
示例#2
0
 /// <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);
 }