Пример #1
0
        protected override IDictionary <string, object> GetResultArgumentKeywords
            (object result, IDictionary <string, object> outputs)
        {
            IDictionary <string, object> argumentKeywords = mResultExtractor.GetArgumentKeywords(result);

            if (argumentKeywords == null)
            {
                return(outputs);
            }

            if (outputs != null)
            {
                foreach (KeyValuePair <string, object> keyValuePair in outputs)
                {
                    argumentKeywords[keyValuePair.Key] = keyValuePair.Value;
                }
            }

            return(argumentKeywords);
        }
Пример #2
0
 protected override IDictionary <string, object> GetResultArgumentKeywords(object result)
 {
     return(mResultExtractor.GetArgumentKeywords(result));
 }