private ToDo GetBaseDeleteToDoIntent(
     string userInput,
     ToDo.Intent intents  = ToDo.Intent.DeleteToDo,
     double[] ordinal     = null,
     double[] number      = null,
     string[] listType    = null,
     string[] containsAll = null)
 {
     return(GetToDoIntent(
                userInput,
                intents,
                ordinal: ordinal,
                number: number,
                listType: listType,
                containsAll: containsAll));
 }
 private ToDo GetBaseAddTaskIntent(
     string userInput,
     ToDo.Intent intents         = ToDo.Intent.AddToDo,
     string[] listType           = null,
     string[] taskContentML      = null,
     string[] shopContent        = null,
     string[] taskContentPattern = null,
     string[][] foodOfGrocery    = null,
     string[][] shopVerb         = null)
 {
     return(GetToDoIntent(
                userInput,
                intents,
                listType: listType,
                taskContentML: taskContentML,
                shopContent: shopContent,
                taskContentPattern: taskContentPattern,
                foodOfGrocery: foodOfGrocery,
                shopVerb: shopVerb));
 }
Exemple #3
0
 private ToDo GetBaseMarkToDoIntent(
     string userInput,
     ToDo.Intent intents         = ToDo.Intent.MarkToDo,
     double[] ordinal            = null,
     double[] number             = null,
     string[] listType           = null,
     string[] containsAll        = null,
     string[] taskContentPattern = null,
     string[] taskContentML      = null)
 {
     return(GetToDoIntent(
                userInput,
                intents,
                ordinal: ordinal,
                number: number,
                listType: listType,
                containsAll: containsAll,
                taskContentPattern: taskContentPattern,
                taskContentML: taskContentML));
 }