GraphZen
  • Home
  • Blog
  • Documentation
  • API
  • Get Started
  • GraphZen.TypeSystem
  • SchemaExtensions
Show / Hide Table of Contents
  • GraphZen
    • DocumentValidator
    • GraphQLCanBeNullAttribute
    • GraphQLContext
    • GraphQLContextOptions
    • GraphQLContextOptions<TContext>
    • GraphQLContextOptionsBuilder
    • GraphQLContextOptionsBuilder<TContext>
    • GraphQLDeprecatedAttribute
    • GraphQLError
    • GraphQLException
    • GraphQLIgnoreAttribute
    • GraphQLListItemCanBeNullAttribute
    • GraphQLListItemNonNullAttribute
    • GraphQLNameAttribute
    • GraphQLNonNullAttribute
    • GraphQLObjectAttribute
    • GraphQLTypeAttribute
    • GraphQLUnionAttribute
    • GraphZenApplicationBuilderExtensions
    • GraphZenServiceCollectionExtensions
    • IDocumentValidator
    • IGraphQLDirective
    • PlaygroundApplicationBuilderExtensions
    • Program
  • GraphZen.CodeGen
    • CodeGenHelpers
    • CodeGenStringBuilderExtensions
    • CodeGenTasks
  • GraphZen.LanguageModel
    • ArgumentSyntax
    • ArgumentSyntaxExtensions
    • BooleanValueSyntax
    • BooleanValueSyntaxExtensions
    • Break
    • ContinueAction
    • DefinitionSyntax
    • DirectiveDefinitionSyntax
    • DirectiveDefinitionSyntaxExtensions
    • DirectiveLocation
    • DirectiveSyntax
    • DirectiveSyntaxExtensions
    • DocumentSyntax
    • DocumentSyntaxExtensions
    • EnumTypeDefinitionSyntax
    • EnumTypeDefinitionSyntaxExtensions
    • EnumTypeExtensionSyntax
    • EnumTypeExtensionSyntaxExtensions
    • EnumValueDefinitionSyntax
    • EnumValueDefinitionSyntaxExtensions
    • EnumValueSyntax
    • EnumValueSyntaxExtensions
    • ExecutableDefinitionSyntax
    • FieldDefinitionSyntax
    • FieldDefinitionSyntaxExtensions
    • FieldSyntax
    • FieldSyntaxExtensions
    • FloatValueSyntax
    • FloatValueSyntaxExtensions
    • FragmentDefinitionSyntax
    • FragmentDefinitionSyntaxExtensions
    • FragmentSpreadSyntax
    • FragmentSpreadSyntaxExtensions
    • GraphQLSyntaxVisitor
    • GraphQLSyntaxVisitor<TResult>
    • GraphQLSyntaxWalker
    • GraphQLSyntaxWalker<TResult>
    • IArgumentsNode
    • IDescribedSyntax
    • IDirectivesSyntax
    • IFieldsNode
    • IFragmentTypeConditionSyntax
    • INamedSyntax
    • InlineFragmentSyntax
    • InlineFragmentSyntaxExtensions
    • InputObjectTypeDefinitionSyntax
    • InputObjectTypeDefinitionSyntaxExtensions
    • InputObjectTypeExtensionSyntax
    • InputObjectTypeExtensionSyntaxExtensions
    • InputValueDefinitionSyntax
    • InputValueDefinitionSyntaxExtensions
    • InterfaceTypeDefinitionSyntax
    • InterfaceTypeDefinitionSyntaxExensions
    • InterfaceTypeDefinitionSyntaxExtensions
    • InterfaceTypeExtensionSyntax
    • InterfaceTypeExtensionSyntaxExtensions
    • IntValueSyntax
    • IntValueSyntaxExtensions
    • IParser
    • IPrinter
    • ISyntaxNodeLocation
    • ListTypeSyntax
    • ListTypeSyntaxExtensions
    • ListValueSyntax
    • ListValueSyntaxExtensions
    • NamedSyntaxExtensions
    • NamedTypeSyntax
    • NamedTypeSyntaxExtensions
    • NameSyntax
    • NameSyntaxExtensions
    • NonNullTypeSyntax
    • NonNullTypeSyntaxExtensions
    • NullableTypeSyntax
    • NullValueSyntax
    • NullValueSyntaxExtensions
    • ObjectFieldSyntax
    • ObjectFieldSyntaxExtensions
    • ObjectTypeDefinitionSyntax
    • ObjectTypeDefinitionSyntaxExtensions
    • ObjectTypeExtensionSyntax
    • ObjectTypeExtensionSyntaxExtensions
    • ObjectValueSyntax
    • ObjectValueSyntaxExtensions
    • OperationDefinitionSyntax
    • OperationDefinitionSyntaxExtensions
    • OperationType
    • OperationTypeDefinitionSyntax
    • OperationTypeDefinitionSyntaxExtensions
    • ParallelSyntaxWalker
    • PunctuatorSyntax
    • PunctuatorSyntaxExtensions
    • ScalarTypeDefinitionSyntax
    • ScalarTypeDefinitionSyntaxExtensions
    • ScalarTypeExtensionSyntax
    • ScalarTypeExtensionSyntaxExtensions
    • SchemaDefinitionSyntax
    • SchemaDefinitionSyntaxExtensions
    • SchemaExtensionSyntax
    • SchemaExtensionSyntaxExtensions
    • SelectionSetSyntax
    • SelectionSetSyntaxExtensions
    • SelectionSyntax
    • Skip
    • Source
    • SourceLocation
    • StringValueSyntax
    • StringValueSyntaxExtensions
    • SyntaxFactory
    • SyntaxKind
    • SyntaxLocation
    • SyntaxNode
    • SyntaxNodeExtensions
    • TypeDefinitionSyntax
    • TypeExtensionSyntax
    • TypeSyntax
    • TypeSystemDefinitionSyntax
    • TypeSystemExtensionSyntax
    • UnionTypeDefinitionSyntax
    • UnionTypeDefinitionSyntaxExtensions
    • UnionTypeExtensionSyntax
    • UnionTypeExtensionSyntaxExtensions
    • ValueSyntax
    • VariableDefinitionSyntax
    • VariableDefinitionSyntaxExtensions
    • VariableSyntax
    • VariableSyntaxExtensions
    • VisitAction
    • VistitorContext
  • GraphZen.LanguageModel.Validation
    • DocumentValidationContext
    • DocumentValidationRules
    • DocumentValidationRuleVisitor
    • ParallelValidationVisitor
    • ValidationContext
    • ValidationRule
    • ValidationRuleVisitor
  • GraphZen.LanguageModel.Validation.Rules
    • EnumTypesMustBeWellDefined
    • FieldArgsMustBeProperlyNamed
    • FieldArgumentsMustHaveInputTypes
    • InputObjectFieldsMustHaveInputTypes
    • InputObjectsMustHaveFields
    • InterfaceExtensionsShouldBeValid
    • InterfaceFieldsMustHaveOutputTypes
    • LoneSchemaDefinition
    • ObjectFieldsMustHaveOutputTypes
    • ObjectsCanOnlyImplementUniqueInterfaces
    • ObjectsMustAdhereToInterfaceTheyImplement
    • ObjectsMustHaveFields
    • SchemaMustHaveRootObjectTypes
    • UnionTypesMustBeValid
  • GraphZen.QueryEngine
    • ExecutionOptions
    • ExecutionResult
    • Executor
    • IExecutionContext
    • IExecutor
  • GraphZen.QueryEngine.Validation
    • IQueryValidator
    • QueryValidationContext
    • QueryValidationRules
    • QueryValidationRuleVisitor
    • QueryValidator
  • GraphZen.QueryEngine.Validation.Rules
    • ExecutableDefinitions
    • FieldsOnCorrectType
    • FragmentsOnCompositeTypes
    • InputDocumentNonConflictingVariableInference
    • KnownArgumentNames
    • KnownDirectives
    • KnownFragmentNames
    • KnownTypeNames
    • LoneAnonymousOperation
    • NoFragmentCycles
    • NoUndefinedVariables
    • NoUnusedFragments
    • NoUnusedVariables
    • OverlappingFieldsCanBeMerged
    • PossibleFragmentSpreads
    • ProvidedRequiredArguments
    • ScalarLeafs
    • SingleFieldSubscriptions
    • UniqueArgumentNames
    • UniqueDirectivesPerLocation
    • UniqueFragmentNames
    • UniqueInputFieldNames
    • UniqueOperationNames
    • UniqueVariableNames
    • ValuesOfCorrectType
    • VariablesAreInputTypes
    • VariablesInAllowedPosition
  • GraphZen.TypeSystem
    • AnnotatableMember
    • AnnotatableMemberDefinition
    • Argument
    • ArgumentDefinition
    • DefaultIDirectiveAnnotationSyntaxConverter
    • DeprecatedBuilderExtensions
    • Directive
    • DirectiveAnnotation
    • DirectiveBuilder<TDirective>
    • DirectiveDefinition
    • DirectiveDefinitionArgumentsAccessorExtensions
    • EnumType
    • EnumTypeBuilder<TEnum>
    • EnumTypeDefinition
    • EnumTypeDefinitionValuesAccessorExtensions
    • EnumTypeValuesAccessorExtensions
    • EnumTypeValuesByValueAccessorExtensions
    • EnumValue
    • EnumValueBuilder
    • EnumValueDefinition
    • Field
    • FieldArgumentsAccessorExtensions
    • FieldBuilder<TDeclaringType, TField, TContext>
    • FieldDefinition
    • FieldDefinitionArgumentsAccessorExtensions
    • FieldsDefinition
    • FieldsDefinitionFieldsAccessorExtensions
    • GraphQLTypeExtensions
    • GraphQLTypes
    • IAnnotableBuilder<TBuilder>
    • IArgumentsArgumentsAccessorExtensions
    • IArgumentsDefinitionBuilder<TBuilder>
    • IDirectiveBuilder<TDirective>
    • IEnumTypeBuilder<TEnumValue>
    • IEnumValueBuilder
    • IFieldBuilder<TDeclaringType, TField, TContext>
    • IFieldsDefinitionBuilder<TBuilder, TSource, TContext>
    • IInputObjectTypeBuilder<TInputObject>
    • IInterfaceTypeBuilder<TInterface, TContext>
    • InputField
    • InputFieldDefinition
    • InputObjectType
    • InputObjectTypeBuilder<TInputObject>
    • InputObjectTypeDefinition
    • InputObjectTypeDefinitionFieldsAccessorExtensions
    • InputObjectTypeFieldsAccessorExtensions
    • InputValue
    • InputValueBuilder
    • InputValueDefinition
    • InterfaceType
    • InterfaceTypeBuilder<TInterface, TContext>
    • InterfaceTypeDefinition
    • InterfaceTypeDefinitionFieldsAccessorExtensions
    • InterfaceTypeFieldsAccessorExtensions
    • Introspection
    • IObjectTypeBuilder<TObject, TContext>
    • IScalarTypeBuilder<TScalar, TValueNode>
    • ISchemaBuilder<TContext>
    • IsTypeOf<TObject, TContext>
    • ISyntaxConverter
    • IUnionTypeBuilder<TUnion, TContext>
    • LeafLiteralParser<TScalar, TValueNode>
    • LeafSerializer
    • LeafSerializer<TScalar>
    • LeafValueParser
    • LeafValueParser<TScalar>
    • ListType
    • Member
    • MemberDefinition
    • NamedType
    • NamedTypeDefinition
    • NonNullType
    • ObjectType
    • ObjectTypeBuilder<TObject, TContext>
    • ObjectTypeDefinition
    • ObjectTypeDefinitionFieldsAccessorExtensions
    • ObjectTypeFieldsAccessorExtensions
    • Resolver<TSource, TResult>
    • ScalarType
    • ScalarTypeBuilder<TScalar, TValueNode>
    • ScalarTypeDefinition
    • Schema
    • SchemaBuilder
    • SchemaBuilder<TContext>
    • SchemaBuilderExtensions
    • SchemaDefinition
    • SchemaDefinitionExtensions
    • SchemaExtensions
    • SchemaPrinter
    • SpecDirectives
    • SpecScalars
    • SyntaxConverter
    • SyntaxHelpers
    • TypeComparators
    • TypeIdentity
    • TypeKind
    • TypeKindHelpers
    • TypeReference
    • TypeResolver
    • TypeResolver<TSource, TContext>
    • UnionType
    • UnionTypeBuilder<TUnion, TContext>
    • UnionTypeDefinition
  • GraphZen.TypeSystem.Taxonomy
    • IAbstractType
    • IAbstractTypeDefinition
    • IAnnotatableDefinition
    • IArgument
    • IArgumentDefinition
    • IArguments
    • IArgumentsDefinition
    • IClrInfo
    • IClrType
    • ICompositeType
    • ICompositeTypeDefinition
    • IDeprecation
    • IDescription
    • IDirective
    • IDirectiveAnnotation
    • IDirectiveAnnotations
    • IDirectiveAnnotationsDefinition
    • IDirectiveDefinition
    • IDirectiveLocations
    • IDirectiveLocationsDefinition
    • IDirectives
    • IDirectivesDefinition
    • IEnumType
    • IEnumTypeDefinition
    • IEnumTypes
    • IEnumTypesDefinition
    • IEnumValue
    • IEnumValueDefinition
    • IEnumValues
    • IEnumValuesDefinition
    • IField
    • IFieldDefinition
    • IFields
    • IFieldsDefinition
    • IGraphQLType
    • IGraphQLTypeReference
    • IInputDefinition
    • IInputField
    • IInputFieldDefinition
    • IInputFields
    • IInputFieldsDefinition
    • IInputObjectType
    • IInputObjectTypeDefinition
    • IInputObjectTypes
    • IInputObjectTypesDefinition
    • IInputValue
    • IInputValueDefinition
    • IInterfaces
    • IInterfacesDefinition
    • IInterfaceType
    • IInterfaceTypeDefinition
    • IInterfaceTypes
    • IInterfaceTypesDefinition
    • ILeafType
    • ILeafTypeDefinition
    • IListType
    • ILiteralParser
    • ILiteralParserDefinition
    • IMember
    • IMemberDefinition
    • IMemberTypes
    • IMemberTypesDefinition
    • IMutableAbstractTypeDefinition
    • IMutableAnnotatableDefinition
    • IMutableArgumentDefinition
    • IMutableArgumentsDefinition
    • IMutableClrType
    • IMutableDefinition
    • IMutableDeprecation
    • IMutableDescription
    • IMutableDirectiveAnnotationsDefinition
    • IMutableDirectiveDefinition
    • IMutableDirectiveLocationsDefinition
    • IMutableDirectivesDefinition
    • IMutableEnumTypeDefinition
    • IMutableEnumTypesDefinition
    • IMutableEnumValueDefinition
    • IMutableEnumValuesDefinition
    • IMutableFieldDefinition
    • IMutableFieldsDefinition
    • IMutableInputFieldDefinition
    • IMutableInputFieldsDefinition
    • IMutableInputObjectTypeDefinition
    • IMutableInputObjectTypesDefinition
    • IMutableInputValueDefinition
    • IMutableInterfacesDefinition
    • IMutableInterfaceTypeDefinition
    • IMutableInterfaceTypesDefinition
    • IMutableLiteralParserDefinition
    • IMutableMemberTypesDefinition
    • IMutableMutationTypeDefinition
    • IMutableNamed
    • IMutableNamedTypeDefinition
    • IMutableObjectTypeDefinition
    • IMutableObjectTypesDefinition
    • IMutableQueryTypeDefinition
    • IMutableScalarTypeDefinition
    • IMutableScalarTypesDefinition
    • IMutableSchemaDefinition
    • IMutableSerializerDefinition
    • IMutableSubscriptionTypeDefinition
    • IMutableUnionTypeDefinition
    • IMutableUnionTypesDefinition
    • IMutableValueParserDefinition
    • IMutationType
    • IMutationTypeDefinition
    • INamed
    • INamedType
    • INamedTypeDefinition
    • INamedTypeReference
    • INonNullType
    • INullableType
    • IObjectType
    • IObjectTypeDefinition
    • IObjectTypes
    • IObjectTypesDefinition
    • IOutputDefinition
    • IQueryType
    • IQueryTypeDefinition
    • IScalarType
    • IScalarTypeDefinition
    • IScalarTypes
    • IScalarTypesDefinition
    • ISchema
    • ISchemaDefinition
    • ISerializer
    • ISerializerDefinition
    • ISubscriptionType
    • ISubscriptionTypeDefinition
    • ISyntaxConvertable
    • IUnionType
    • IUnionTypeDefinition
    • IUnionTypes
    • IUnionTypesDefinition
    • IValueParser
    • IValueParserDefinition
    • IWrappingNullableType
    • IWrappingType
  • GraphZen.Utilities
    • Helpers
    • TypeInfo

Class SchemaExtensions

Inheritance
Object
SchemaExtensions
Namespace: GraphZen.TypeSystem
Assembly: GraphZen.TypeSystem.dll
Syntax
public static class SchemaExtensions

Methods

FindEnum(Schema, String)

Declaration
public static EnumType FindEnum(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
EnumType

FindEnum(Schema, Type)

Declaration
public static EnumType FindEnum(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
EnumType

FindEnum<TClrType>(Schema)

Declaration
public static EnumType FindEnum<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
EnumType
Type Parameters
Name Description
TClrType

FindInputObject(Schema, String)

Declaration
public static InputObjectType FindInputObject(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
InputObjectType

FindInputObject(Schema, Type)

Declaration
public static InputObjectType FindInputObject(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
InputObjectType

FindInputObject<TClrType>(Schema)

Declaration
public static InputObjectType FindInputObject<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
InputObjectType
Type Parameters
Name Description
TClrType

FindInterface(Schema, String)

Declaration
public static InterfaceType FindInterface(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
InterfaceType

FindInterface(Schema, Type)

Declaration
public static InterfaceType FindInterface(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
InterfaceType

FindInterface<TClrType>(Schema)

Declaration
public static InterfaceType FindInterface<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
InterfaceType
Type Parameters
Name Description
TClrType

FindObject(Schema, String)

Declaration
public static ObjectType FindObject(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
ObjectType

FindObject(Schema, Type)

Declaration
public static ObjectType FindObject(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
ObjectType

FindObject<TClrType>(Schema)

Declaration
public static ObjectType FindObject<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
ObjectType
Type Parameters
Name Description
TClrType

FindScalar(Schema, String)

Declaration
public static ScalarType FindScalar(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
ScalarType

FindScalar(Schema, Type)

Declaration
public static ScalarType FindScalar(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
ScalarType

FindScalar<TClrType>(Schema)

Declaration
public static ScalarType FindScalar<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
ScalarType
Type Parameters
Name Description
TClrType

FindUnion(Schema, String)

Declaration
public static UnionType FindUnion(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
UnionType

FindUnion(Schema, Type)

Declaration
public static UnionType FindUnion(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
UnionType

FindUnion<TClrType>(Schema)

Declaration
public static UnionType FindUnion<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
UnionType
Type Parameters
Name Description
TClrType

GetEnum(Schema, String)

Declaration
public static EnumType GetEnum(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
EnumType

GetEnum(Schema, Type)

Declaration
public static EnumType GetEnum(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
EnumType

GetEnum<TClrType>(Schema)

Declaration
public static EnumType GetEnum<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
EnumType
Type Parameters
Name Description
TClrType

GetInputObject(Schema, String)

Declaration
public static InputObjectType GetInputObject(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
InputObjectType

GetInputObject(Schema, Type)

Declaration
public static InputObjectType GetInputObject(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
InputObjectType

GetInputObject<TClrType>(Schema)

Declaration
public static InputObjectType GetInputObject<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
InputObjectType
Type Parameters
Name Description
TClrType

GetInterface(Schema, String)

Declaration
public static InterfaceType GetInterface(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
InterfaceType

GetInterface(Schema, Type)

Declaration
public static InterfaceType GetInterface(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
InterfaceType

GetInterface<TClrType>(Schema)

Declaration
public static InterfaceType GetInterface<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
InterfaceType
Type Parameters
Name Description
TClrType

GetObject(Schema, String)

Declaration
public static ObjectType GetObject(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
ObjectType

GetObject(Schema, Type)

Declaration
public static ObjectType GetObject(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
ObjectType

GetObject<TClrType>(Schema)

Declaration
public static ObjectType GetObject<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
ObjectType
Type Parameters
Name Description
TClrType

GetScalar(Schema, String)

Declaration
public static ScalarType GetScalar(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
ScalarType

GetScalar(Schema, Type)

Declaration
public static ScalarType GetScalar(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
ScalarType

GetScalar<TClrType>(Schema)

Declaration
public static ScalarType GetScalar<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
ScalarType
Type Parameters
Name Description
TClrType

GetUnion(Schema, String)

Declaration
public static UnionType GetUnion(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
UnionType

GetUnion(Schema, Type)

Declaration
public static UnionType GetUnion(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
UnionType

GetUnion<TClrType>(Schema)

Declaration
public static UnionType GetUnion<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
UnionType
Type Parameters
Name Description
TClrType

HasEnum(Schema, String)

Declaration
public static bool HasEnum(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
Boolean

HasEnum(Schema, Type)

Declaration
public static bool HasEnum(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
Boolean

HasEnum<TClrType>(Schema)

Declaration
public static bool HasEnum<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
Boolean
Type Parameters
Name Description
TClrType

HasInputObject(Schema, String)

Declaration
public static bool HasInputObject(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
Boolean

HasInputObject(Schema, Type)

Declaration
public static bool HasInputObject(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
Boolean

HasInputObject<TClrType>(Schema)

Declaration
public static bool HasInputObject<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
Boolean
Type Parameters
Name Description
TClrType

HasInterface(Schema, String)

Declaration
public static bool HasInterface(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
Boolean

HasInterface(Schema, Type)

Declaration
public static bool HasInterface(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
Boolean

HasInterface<TClrType>(Schema)

Declaration
public static bool HasInterface<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
Boolean
Type Parameters
Name Description
TClrType

HasObject(Schema, String)

Declaration
public static bool HasObject(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
Boolean

HasObject(Schema, Type)

Declaration
public static bool HasObject(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
Boolean

HasObject<TClrType>(Schema)

Declaration
public static bool HasObject<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
Boolean
Type Parameters
Name Description
TClrType

HasScalar(Schema, String)

Declaration
public static bool HasScalar(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
Boolean

HasScalar(Schema, Type)

Declaration
public static bool HasScalar(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
Boolean

HasScalar<TClrType>(Schema)

Declaration
public static bool HasScalar<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
Boolean
Type Parameters
Name Description
TClrType

HasUnion(Schema, String)

Declaration
public static bool HasUnion(this Schema schema, string name)
Parameters
Type Name Description
Schema schema
String name
Returns
Type Description
Boolean

HasUnion(Schema, Type)

Declaration
public static bool HasUnion(this Schema schema, Type clrType)
Parameters
Type Name Description
Schema schema
Type clrType
Returns
Type Description
Boolean

HasUnion<TClrType>(Schema)

Declaration
public static bool HasUnion<TClrType>(this Schema schema)
Parameters
Type Name Description
Schema schema
Returns
Type Description
Boolean
Type Parameters
Name Description
TClrType

TryGetEnum(Schema, String, out EnumType)

Declaration
public static bool TryGetEnum(this Schema schema, string name, out EnumType type)
Parameters
Type Name Description
Schema schema
String name
EnumType type
Returns
Type Description
Boolean

TryGetEnum(Schema, Type, out EnumType)

Declaration
public static bool TryGetEnum(this Schema schema, Type clrType, out EnumType type)
Parameters
Type Name Description
Schema schema
Type clrType
EnumType type
Returns
Type Description
Boolean

TryGetEnum<TClrType>(Schema, out EnumType)

Declaration
public static bool TryGetEnum<TClrType>(this Schema schema, out EnumType type)
Parameters
Type Name Description
Schema schema
EnumType type
Returns
Type Description
Boolean
Type Parameters
Name Description
TClrType

TryGetInputObject(Schema, String, out InputObjectType)

Declaration
public static bool TryGetInputObject(this Schema schema, string name, out InputObjectType type)
Parameters
Type Name Description
Schema schema
String name
InputObjectType type
Returns
Type Description
Boolean

TryGetInputObject(Schema, Type, out InputObjectType)

Declaration
public static bool TryGetInputObject(this Schema schema, Type clrType, out InputObjectType type)
Parameters
Type Name Description
Schema schema
Type clrType
InputObjectType type
Returns
Type Description
Boolean

TryGetInputObject<TClrType>(Schema, out InputObjectType)

Declaration
public static bool TryGetInputObject<TClrType>(this Schema schema, out InputObjectType type)
Parameters
Type Name Description
Schema schema
InputObjectType type
Returns
Type Description
Boolean
Type Parameters
Name Description
TClrType

TryGetInterface(Schema, String, out InterfaceType)

Declaration
public static bool TryGetInterface(this Schema schema, string name, out InterfaceType type)
Parameters
Type Name Description
Schema schema
String name
InterfaceType type
Returns
Type Description
Boolean

TryGetInterface(Schema, Type, out InterfaceType)

Declaration
public static bool TryGetInterface(this Schema schema, Type clrType, out InterfaceType type)
Parameters
Type Name Description
Schema schema
Type clrType
InterfaceType type
Returns
Type Description
Boolean

TryGetInterface<TClrType>(Schema, out InterfaceType)

Declaration
public static bool TryGetInterface<TClrType>(this Schema schema, out InterfaceType type)
Parameters
Type Name Description
Schema schema
InterfaceType type
Returns
Type Description
Boolean
Type Parameters
Name Description
TClrType

TryGetObject(Schema, String, out ObjectType)

Declaration
public static bool TryGetObject(this Schema schema, string name, out ObjectType type)
Parameters
Type Name Description
Schema schema
String name
ObjectType type
Returns
Type Description
Boolean

TryGetObject(Schema, Type, out ObjectType)

Declaration
public static bool TryGetObject(this Schema schema, Type clrType, out ObjectType type)
Parameters
Type Name Description
Schema schema
Type clrType
ObjectType type
Returns
Type Description
Boolean

TryGetObject<TClrType>(Schema, out ObjectType)

Declaration
public static bool TryGetObject<TClrType>(this Schema schema, out ObjectType type)
Parameters
Type Name Description
Schema schema
ObjectType type
Returns
Type Description
Boolean
Type Parameters
Name Description
TClrType

TryGetScalar(Schema, String, out ScalarType)

Declaration
public static bool TryGetScalar(this Schema schema, string name, out ScalarType type)
Parameters
Type Name Description
Schema schema
String name
ScalarType type
Returns
Type Description
Boolean

TryGetScalar(Schema, Type, out ScalarType)

Declaration
public static bool TryGetScalar(this Schema schema, Type clrType, out ScalarType type)
Parameters
Type Name Description
Schema schema
Type clrType
ScalarType type
Returns
Type Description
Boolean

TryGetScalar<TClrType>(Schema, out ScalarType)

Declaration
public static bool TryGetScalar<TClrType>(this Schema schema, out ScalarType type)
Parameters
Type Name Description
Schema schema
ScalarType type
Returns
Type Description
Boolean
Type Parameters
Name Description
TClrType

TryGetUnion(Schema, String, out UnionType)

Declaration
public static bool TryGetUnion(this Schema schema, string name, out UnionType type)
Parameters
Type Name Description
Schema schema
String name
UnionType type
Returns
Type Description
Boolean

TryGetUnion(Schema, Type, out UnionType)

Declaration
public static bool TryGetUnion(this Schema schema, Type clrType, out UnionType type)
Parameters
Type Name Description
Schema schema
Type clrType
UnionType type
Returns
Type Description
Boolean

TryGetUnion<TClrType>(Schema, out UnionType)

Declaration
public static bool TryGetUnion<TClrType>(this Schema schema, out UnionType type)
Parameters
Type Name Description
Schema schema
UnionType type
Returns
Type Description
Boolean
Type Parameters
Name Description
TClrType
Back to top Copyright © 2017-2019 GraphZen LLC