Interface IInterfaceTypeBuilder<TInterface, TContext>
Assembly: GraphZen.TypeSystem.dll
Syntax
public interface IInterfaceTypeBuilder<TInterface, TContext> : IAnnotableBuilder<IInterfaceTypeBuilder<TInterface, TContext>>, IFieldsDefinitionBuilder<IInterfaceTypeBuilder<TInterface, TContext>, TInterface, TContext> where TContext : GraphQLContext
Type Parameters
Name |
Description |
TInterface |
|
TContext |
|
Methods
ClrType(Type)
Declaration
IInterfaceTypeBuilder<object, TContext> ClrType(Type clrType)
Parameters
Type |
Name |
Description |
Type |
clrType |
|
Returns
ClrType<TNewInterfaceType>()
Declaration
IInterfaceTypeBuilder<TNewInterfaceType, TContext> ClrType<TNewInterfaceType>()
Returns
Type Parameters
Name |
Description |
TNewInterfaceType |
|
Description(String)
Declaration
IInterfaceTypeBuilder<TInterface, TContext> Description(string description)
Parameters
Type |
Name |
Description |
String |
description |
|
Returns
Name(String)
Declaration
IInterfaceTypeBuilder<TInterface, TContext> Name(string newName)
Parameters
Type |
Name |
Description |
String |
newName |
|
Returns
ResolveType(TypeResolver<TInterface, TContext>)
Declaration
IInterfaceTypeBuilder<TInterface, TContext> ResolveType(TypeResolver<TInterface, TContext> resolveTypeFn)
Parameters
Type |
Name |
Description |
TypeResolver<TInterface, TContext> |
resolveTypeFn |
|
Returns
Extension Methods