Exemple #1
0
        public ListSequenceResolver(IEnumerable <T> values)
        {
            var resolvers = new List <IScalarResolver <T> >();

            foreach (var value in values)
            {
                resolvers.Add(new LiteralScalarResolver <T>(value));
            }

            args = new ListSequenceResolverArgs(resolvers);
        }
Exemple #2
0
 public ListSequenceResolver(ListSequenceResolverArgs args)
 {
     this.args = args;
 }