Ejemplo n.º 1
0
 public JsonSorter(SorterRequirements required, INodeFinder finder, INodeFinder sort_by, KeyOrValue pick, IEnumerable <string> order, bool after, NodeMatcher matches) : base(required, finder, matches)
 {
     SortBy = sort_by;
     Pick   = pick;
     Order  = order?.ToList();
     After  = after;
 }
Ejemplo n.º 2
0
                public ICollectionToGenericCollectionAdapter(StringDictionary source, KeyOrValue keyOrValue)
                {
                    if (source == null)
                    {
                        throw new ArgumentNullException("source");
                    }

                    _internal   = source;
                    _keyOrValue = keyOrValue;
                }