public ActivatableWorkflowsQueryResult(IEnumerable <IDictionary <XName, object> > parameters)
 {
     if (parameters != null)
     {
         ActivatableWorkflowsQueryResult            dictionaries  = this;
         IEnumerable <IDictionary <XName, object> > dictionaries1 = parameters;
         dictionaries.ActivationParameters = new List <IDictionary <XName, object> >(dictionaries1.Select <IDictionary <XName, object>, ReadOnlyDictionaryInternal <XName, object> >((IDictionary <XName, object> dictionary) => {
             if (dictionary == null)
             {
                 return(ActivatableWorkflowsQueryResult.emptyDictionary);
             }
             else
             {
                 return(new ReadOnlyDictionaryInternal <XName, object>(new Dictionary <XName, object>(dictionary)));
             }
         }
                                                                                                                                                                                     ));
         return;
     }
     else
     {
         this.ActivationParameters = new List <IDictionary <XName, object> >(0);
         return;
     }
 }
        public ActivatableWorkflowsQueryResult(IDictionary <XName, object> parameters)
        {
            IDictionary <XName, object>         xNames;
            ActivatableWorkflowsQueryResult     activatableWorkflowsQueryResult = this;
            List <IDictionary <XName, object> > dictionaries  = new List <IDictionary <XName, object> >();
            List <IDictionary <XName, object> > dictionaries1 = dictionaries;

            if (parameters == null)
            {
                xNames = ActivatableWorkflowsQueryResult.emptyDictionary;
            }
            else
            {
                xNames = new ReadOnlyDictionaryInternal <XName, object>(new Dictionary <XName, object>(parameters));
            }
            dictionaries1.Add(xNames);
            activatableWorkflowsQueryResult.ActivationParameters = dictionaries;
        }