Beispiel #1
0
 public void Clear()
 {
     NameList.Clear();
     Message.Clear();
     Content = null;
     Subject = null;
     Recipients.Clear();
     ConfirmRecipientIndex     = 0;
     ShowEmailIndex            = 0;
     IsUnreadOnly              = true;
     IsImportant               = false;
     StartDateTime             = DateTime.UtcNow.Add(new TimeSpan(-7, 0, 0, 0));
     EndDateTime               = DateTime.UtcNow;
     DirectlyToMe              = false;
     SenderName                = null;
     ShowRecipientIndex        = 0;
     LuisResultPassedFromSkill = null;
 }
 public MockLuisRecognizer(IRecognizerConvert defaultIntent)
 {
     TestUtterances = new Dictionary <string, IRecognizerConvert>();
     DefaultIntent  = defaultIntent;
 }
Beispiel #3
0
 public SkillMetadata(IRecognizerConvert luisResult, Dictionary <string, string> configuration, Dictionary <string, object> parameters)
 {
     LuisResult    = luisResult;
     Configuration = configuration;
     Parameters    = parameters;
 }
 public MockLuisRecognizer(IRecognizerConvert defaultIntent)
     : base(new LuisRecognizerOptionsV3(mockApplication))
 {
     TestUtterances = new Dictionary <string, IRecognizerConvert>();
     DefaultIntent  = defaultIntent;
 }