コード例 #1
0
ファイル: star.cs プロジェクト: Arsslensoft/ALFX
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public star(Al.AI.AIML.Bot bot,
             Al.AI.AIML.User user,
             Al.AI.AIML.Utils.SubQuery query,
             Al.AI.AIML.Request request,
             Al.AI.AIML.Result result,
             XmlNode templateNode)
     : base(bot, user, query, request, result, templateNode)
 {
 }
コード例 #2
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request inputted into the system</param>
 /// <param name="result">The result to be passed to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public condition(Al.AI.AIML.Bot bot,
                  Al.AI.AIML.User user,
                  Al.AI.AIML.Utils.SubQuery query,
                  Al.AI.AIML.Request request,
                  Al.AI.AIML.Result result,
                  XmlNode templateNode)
     : base(bot, user, query, request, result, templateNode)
 {
     this.isRecursive = false;
 }
コード例 #3
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="bot">The bot involved in this request</param>
 /// <param name="user">The user making the request</param>
 /// <param name="query">The query that originated this node</param>
 /// <param name="request">The request itself</param>
 /// <param name="result">The result to be passed back to the user</param>
 /// <param name="templateNode">The node to be processed</param>
 public AIMLTagHandler(Al.AI.AIML.Bot bot,
                       Al.AI.AIML.User user,
                       Al.AI.AIML.Utils.SubQuery query,
                       Al.AI.AIML.Request request,
                       Al.AI.AIML.Result result,
                       XmlNode templateNode) : base(bot, templateNode.OuterXml)
 {
     this.user         = user;
     this.query        = query;
     this.request      = request;
     this.result       = result;
     this.templateNode = templateNode;
     this.templateNode.Attributes.RemoveNamedItem("xmlns");
 }