Class SchemaExtensions
Inheritance
SchemaExtensions
Assembly: GraphZen.TypeSystem.dll
Syntax
public static class SchemaExtensions
Methods
FindEnum(Schema, String)
Declaration
public static EnumType FindEnum(this Schema schema, string name)
Parameters
Returns
FindEnum(Schema, Type)
Declaration
public static EnumType FindEnum(this Schema schema, Type clrType)
Parameters
Returns
FindEnum<TClrType>(Schema)
Declaration
public static EnumType FindEnum<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
Declaration
public static InputObjectType FindInputObject(this Schema schema, string name)
Parameters
Returns
Declaration
public static InputObjectType FindInputObject(this Schema schema, Type clrType)
Parameters
Returns
Declaration
public static InputObjectType FindInputObject<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
FindInterface(Schema, String)
Declaration
public static InterfaceType FindInterface(this Schema schema, string name)
Parameters
Returns
FindInterface(Schema, Type)
Declaration
public static InterfaceType FindInterface(this Schema schema, Type clrType)
Parameters
Returns
FindInterface<TClrType>(Schema)
Declaration
public static InterfaceType FindInterface<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
FindObject(Schema, String)
Declaration
public static ObjectType FindObject(this Schema schema, string name)
Parameters
Returns
FindObject(Schema, Type)
Declaration
public static ObjectType FindObject(this Schema schema, Type clrType)
Parameters
Returns
FindObject<TClrType>(Schema)
Declaration
public static ObjectType FindObject<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
FindScalar(Schema, String)
Declaration
public static ScalarType FindScalar(this Schema schema, string name)
Parameters
Returns
FindScalar(Schema, Type)
Declaration
public static ScalarType FindScalar(this Schema schema, Type clrType)
Parameters
Returns
FindScalar<TClrType>(Schema)
Declaration
public static ScalarType FindScalar<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
FindUnion(Schema, String)
Declaration
public static UnionType FindUnion(this Schema schema, string name)
Parameters
Returns
FindUnion(Schema, Type)
Declaration
public static UnionType FindUnion(this Schema schema, Type clrType)
Parameters
Returns
FindUnion<TClrType>(Schema)
Declaration
public static UnionType FindUnion<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
GetEnum(Schema, String)
Declaration
public static EnumType GetEnum(this Schema schema, string name)
Parameters
Returns
GetEnum(Schema, Type)
Declaration
public static EnumType GetEnum(this Schema schema, Type clrType)
Parameters
Returns
GetEnum<TClrType>(Schema)
Declaration
public static EnumType GetEnum<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
Declaration
public static InputObjectType GetInputObject(this Schema schema, string name)
Parameters
Returns
Declaration
public static InputObjectType GetInputObject(this Schema schema, Type clrType)
Parameters
Returns
Declaration
public static InputObjectType GetInputObject<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
GetInterface(Schema, String)
Declaration
public static InterfaceType GetInterface(this Schema schema, string name)
Parameters
Returns
GetInterface(Schema, Type)
Declaration
public static InterfaceType GetInterface(this Schema schema, Type clrType)
Parameters
Returns
GetInterface<TClrType>(Schema)
Declaration
public static InterfaceType GetInterface<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
GetObject(Schema, String)
Declaration
public static ObjectType GetObject(this Schema schema, string name)
Parameters
Returns
GetObject(Schema, Type)
Declaration
public static ObjectType GetObject(this Schema schema, Type clrType)
Parameters
Returns
GetObject<TClrType>(Schema)
Declaration
public static ObjectType GetObject<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
GetScalar(Schema, String)
Declaration
public static ScalarType GetScalar(this Schema schema, string name)
Parameters
Returns
GetScalar(Schema, Type)
Declaration
public static ScalarType GetScalar(this Schema schema, Type clrType)
Parameters
Returns
GetScalar<TClrType>(Schema)
Declaration
public static ScalarType GetScalar<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
GetUnion(Schema, String)
Declaration
public static UnionType GetUnion(this Schema schema, string name)
Parameters
Returns
GetUnion(Schema, Type)
Declaration
public static UnionType GetUnion(this Schema schema, Type clrType)
Parameters
Returns
GetUnion<TClrType>(Schema)
Declaration
public static UnionType GetUnion<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
HasEnum(Schema, String)
Declaration
public static bool HasEnum(this Schema schema, string name)
Parameters
Returns
HasEnum(Schema, Type)
Declaration
public static bool HasEnum(this Schema schema, Type clrType)
Parameters
Returns
HasEnum<TClrType>(Schema)
Declaration
public static bool HasEnum<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
Declaration
public static bool HasInputObject(this Schema schema, string name)
Parameters
Returns
Declaration
public static bool HasInputObject(this Schema schema, Type clrType)
Parameters
Returns
Declaration
public static bool HasInputObject<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
HasInterface(Schema, String)
Declaration
public static bool HasInterface(this Schema schema, string name)
Parameters
Returns
HasInterface(Schema, Type)
Declaration
public static bool HasInterface(this Schema schema, Type clrType)
Parameters
Returns
HasInterface<TClrType>(Schema)
Declaration
public static bool HasInterface<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
HasObject(Schema, String)
Declaration
public static bool HasObject(this Schema schema, string name)
Parameters
Returns
HasObject(Schema, Type)
Declaration
public static bool HasObject(this Schema schema, Type clrType)
Parameters
Returns
HasObject<TClrType>(Schema)
Declaration
public static bool HasObject<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
HasScalar(Schema, String)
Declaration
public static bool HasScalar(this Schema schema, string name)
Parameters
Returns
HasScalar(Schema, Type)
Declaration
public static bool HasScalar(this Schema schema, Type clrType)
Parameters
Returns
HasScalar<TClrType>(Schema)
Declaration
public static bool HasScalar<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
HasUnion(Schema, String)
Declaration
public static bool HasUnion(this Schema schema, string name)
Parameters
Returns
HasUnion(Schema, Type)
Declaration
public static bool HasUnion(this Schema schema, Type clrType)
Parameters
Returns
HasUnion<TClrType>(Schema)
Declaration
public static bool HasUnion<TClrType>(this Schema schema)
Parameters
Type |
Name |
Description |
Schema |
schema |
|
Returns
Type Parameters
Name |
Description |
TClrType |
|
TryGetEnum(Schema, String, out EnumType)
Declaration
public static bool TryGetEnum(this Schema schema, string name, out EnumType type)
Parameters
Returns
TryGetEnum(Schema, Type, out EnumType)
Declaration
public static bool TryGetEnum(this Schema schema, Type clrType, out EnumType type)
Parameters
Returns
TryGetEnum<TClrType>(Schema, out EnumType)
Declaration
public static bool TryGetEnum<TClrType>(this Schema schema, out EnumType type)
Parameters
Returns
Type Parameters
Name |
Description |
TClrType |
|
Declaration
public static bool TryGetInputObject(this Schema schema, string name, out InputObjectType type)
Parameters
Returns
Declaration
public static bool TryGetInputObject(this Schema schema, Type clrType, out InputObjectType type)
Parameters
Returns
Declaration
public static bool TryGetInputObject<TClrType>(this Schema schema, out InputObjectType type)
Parameters
Returns
Type Parameters
Name |
Description |
TClrType |
|
TryGetInterface(Schema, String, out InterfaceType)
Declaration
public static bool TryGetInterface(this Schema schema, string name, out InterfaceType type)
Parameters
Returns
TryGetInterface(Schema, Type, out InterfaceType)
Declaration
public static bool TryGetInterface(this Schema schema, Type clrType, out InterfaceType type)
Parameters
Returns
TryGetInterface<TClrType>(Schema, out InterfaceType)
Declaration
public static bool TryGetInterface<TClrType>(this Schema schema, out InterfaceType type)
Parameters
Returns
Type Parameters
Name |
Description |
TClrType |
|
TryGetObject(Schema, String, out ObjectType)
Declaration
public static bool TryGetObject(this Schema schema, string name, out ObjectType type)
Parameters
Returns
TryGetObject(Schema, Type, out ObjectType)
Declaration
public static bool TryGetObject(this Schema schema, Type clrType, out ObjectType type)
Parameters
Returns
TryGetObject<TClrType>(Schema, out ObjectType)
Declaration
public static bool TryGetObject<TClrType>(this Schema schema, out ObjectType type)
Parameters
Returns
Type Parameters
Name |
Description |
TClrType |
|
TryGetScalar(Schema, String, out ScalarType)
Declaration
public static bool TryGetScalar(this Schema schema, string name, out ScalarType type)
Parameters
Returns
TryGetScalar(Schema, Type, out ScalarType)
Declaration
public static bool TryGetScalar(this Schema schema, Type clrType, out ScalarType type)
Parameters
Returns
TryGetScalar<TClrType>(Schema, out ScalarType)
Declaration
public static bool TryGetScalar<TClrType>(this Schema schema, out ScalarType type)
Parameters
Returns
Type Parameters
Name |
Description |
TClrType |
|
TryGetUnion(Schema, String, out UnionType)
Declaration
public static bool TryGetUnion(this Schema schema, string name, out UnionType type)
Parameters
Returns
TryGetUnion(Schema, Type, out UnionType)
Declaration
public static bool TryGetUnion(this Schema schema, Type clrType, out UnionType type)
Parameters
Returns
TryGetUnion<TClrType>(Schema, out UnionType)
Declaration
public static bool TryGetUnion<TClrType>(this Schema schema, out UnionType type)
Parameters
Returns
Type Parameters
Name |
Description |
TClrType |
|