Interface IObjectTypeBuilder<TObject, TContext>
Assembly: GraphZen.TypeSystem.dll
Syntax
public interface IObjectTypeBuilder<TObject, TContext> : IInfrastructure<InternalObjectTypeBuilder>, IAnnotableBuilder<IObjectTypeBuilder<TObject, TContext>>, IFieldsDefinitionBuilder<IObjectTypeBuilder<TObject, TContext>, TObject, TContext> where TContext : GraphQLContext
Type Parameters
Name |
Description |
TObject |
|
TContext |
|
Methods
ClrType(Type)
Declaration
IObjectTypeBuilder<object, TContext> ClrType(Type clrType)
Parameters
Type |
Name |
Description |
Type |
clrType |
|
Returns
ClrType<T>()
Declaration
IObjectTypeBuilder<T, TContext> ClrType<T>()
Returns
Type Parameters
Description(String)
Declaration
IObjectTypeBuilder<TObject, TContext> Description(string description)
Parameters
Type |
Name |
Description |
String |
description |
|
Returns
IgnoreInterface(String)
Declaration
IObjectTypeBuilder<TObject, TContext> IgnoreInterface(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
IgnoreInterface(Type)
Declaration
IObjectTypeBuilder<TObject, TContext> IgnoreInterface(Type clrType)
Parameters
Type |
Name |
Description |
Type |
clrType |
|
Returns
IgnoreInterface<T>()
Declaration
IObjectTypeBuilder<TObject, TContext> IgnoreInterface<T>()
Returns
Type Parameters
ImplementsInterface(String)
Declaration
IObjectTypeBuilder<TObject, TContext> ImplementsInterface(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
ImplementsInterfaces(String, String[])
Declaration
IObjectTypeBuilder<TObject, TContext> ImplementsInterfaces(string name, params string[] names)
Parameters
Returns
IsTypeOf(Func<TObject, TContext, ResolveInfo, Boolean>)
Declaration
IObjectTypeBuilder<TObject, TContext> IsTypeOf(Func<TObject, TContext, ResolveInfo, bool> isTypeOfFn)
Parameters
Type |
Name |
Description |
Func<TObject, TContext, GraphZen.TypeSystem.Internal.ResolveInfo, Boolean> |
isTypeOfFn |
|
Returns
IsTypeOf(Func<TObject, TContext, Boolean>)
Declaration
IObjectTypeBuilder<TObject, TContext> IsTypeOf(Func<TObject, TContext, bool> isTypeOfFn)
Parameters
Type |
Name |
Description |
Func<TObject, TContext, Boolean> |
isTypeOfFn |
|
Returns
IsTypeOf(Func<TObject, Boolean>)
Declaration
IObjectTypeBuilder<TObject, TContext> IsTypeOf(Func<TObject, bool> isTypeOfFn)
Parameters
Type |
Name |
Description |
Func<TObject, Boolean> |
isTypeOfFn |
|
Returns
Name(String)
Declaration
IObjectTypeBuilder<TObject, TContext> Name(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
UnignoreInterface(String)
Declaration
IObjectTypeBuilder<TObject, TContext> UnignoreInterface(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Extension Methods