C# Class GraphQL.AspNet.Internal.Introspection.Model.IntrospectedType

Exibir arquivo Open project: graphql-aspnet/graphql-aspnet Class Usage Examples

Private Properties

Property Type Description
LoadEnumValues void
LoadFields void
LoadInputValues void
LoadInterfaces void
LoadPossibleTypes void

Public Methods

Method Description
Initialize ( GraphQL.AspNet.Internal.Introspection.Model.IntrospectedSchema schema ) : void

When overridden in a child class,populates this introspected type using its parent schema to fill in any details about other references in this instance.

IntrospectedType ( IGraphType graphType ) : System

Initializes a new instance of the IntrospectedType class.

IntrospectedType ( IntrospectedType ofType, TypeKind metaKind ) : System

Initializes a new instance of the IntrospectedType class.

Private Methods

Method Description
LoadEnumValues ( ) : void
LoadFields ( GraphQL.AspNet.Internal.Introspection.Model.IntrospectedSchema schema ) : void

Loads the fields into this instance for any IGraphType that supports them.

LoadInputValues ( GraphQL.AspNet.Internal.Introspection.Model.IntrospectedSchema schema ) : void
LoadInterfaces ( GraphQL.AspNet.Internal.Introspection.Model.IntrospectedSchema schema ) : void

Loads the interfaces for any graph type that supports them.

LoadPossibleTypes ( GraphQL.AspNet.Internal.Introspection.Model.IntrospectedSchema schema ) : void

Loads the possible types field for for unions or interfaces.

Method Details

Initialize() public method

When overridden in a child class,populates this introspected type using its parent schema to fill in any details about other references in this instance.
public Initialize ( GraphQL.AspNet.Internal.Introspection.Model.IntrospectedSchema schema ) : void
schema GraphQL.AspNet.Internal.Introspection.Model.IntrospectedSchema The schema.
return void

IntrospectedType() public method

Initializes a new instance of the IntrospectedType class.
public IntrospectedType ( IGraphType graphType ) : System
graphType IGraphType The graph type this model item will represent.
return System

IntrospectedType() public method

Initializes a new instance of the IntrospectedType class.
public IntrospectedType ( IntrospectedType ofType, TypeKind metaKind ) : System
ofType IntrospectedType The type this meta type is encapsulating.
metaKind TypeKind The type kind of this meta type (must be LIST or NON_NULL).
return System