Пример #1
0
 public bool IsPossibleType(GraphQLObjectType type)
 {
     if (PossibleTypeNames == null)
     {
         PossibleTypeNames = Types.Aggregate(
             ImmutableDictionary <string, bool> .Empty,
             (dict, possibleType) => dict.Add(possibleType.Name, true));
     }
     return(PossibleTypeNames[type.Name]);
 }
Пример #2
0
 public GraphQLList(GraphQLObjectType ofType)
 {
     OfType = ofType;
 }