Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RootDialog"/> class.
 /// </summary>
 /// <param name="provider"></param>
 public RootDialog(ILuisCommunicationManagerProvider provider)
     : base(provider)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LuisCommunicationDialog{T}"/> class.
 /// </summary>
 public LuisCommunicationDialog(ILuisCommunicationManagerProvider provider)
 {
     this.provider = provider;
     // Needed to start from the initial state.
     this.state = this.Client.StateMachine.InitialState.State.Id;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MessagesController"/> class.
 /// </summary>
 /// <param name="provider">The provider.</param>
 public MessagesController(ILuisCommunicationManagerProvider provider)
 {
     this.scope    = WebApiApplication.FindContainer();
     this.provider = provider;
 }