Table of Contents

Class Schema

Namespace
NominalSystems
Assembly
NominalSystems.Core.dll

Represents a collection of supported type declarations, functions and properties in the runtime.


public static class Schema
Inheritance
Schema

Methods

GetMethod(MethodInfo)

Returns a 'IMethodInfo' for the specified method metadata.

public static IMethodInfo? GetMethod(MethodInfo method)

Parameters

method MethodInfo

The method metadata.

Returns

IMethodInfo

GetMethod(Type, string)

Returns a named IMethodInfo in the specified type declaration.

public static IMethodInfo? GetMethod(Type type, string name)

Parameters

type Type

The type declaration.

name string

The name of the method.

Returns

IMethodInfo

GetMethods(Type)

Returns all supported IMethodInfo's in the specified type declaration.

public static IMethodInfo[] GetMethods(Type type)

Parameters

type Type

The type declaration.

Returns

IMethodInfo[]

GetProperties(Type)

Returns all supported IPropertyInfo's in the specified type declaration.

public static IPropertyInfo[] GetProperties(Type type)

Parameters

type Type

The type declaration.

Returns

IPropertyInfo[]

GetProperty(FieldInfo)

Returns a IPropertyInfo for the specified field metadata.

public static IPropertyInfo? GetProperty(FieldInfo field)

Parameters

field FieldInfo

The field metadata.

Returns

IPropertyInfo

GetProperty(PropertyInfo)

Returns a IPropertyInfo for the specified property metadata.

public static IPropertyInfo? GetProperty(PropertyInfo property)

Parameters

property PropertyInfo

The property metadata.

Returns

IPropertyInfo

GetProperty(Type, string)

Returns a named IPropertyInfo in the specified type declaration.

public static IPropertyInfo? GetProperty(Type type, string name)

Parameters

type Type

The type declaration.

name string

The name of a field or property.

Returns

IPropertyInfo

IsSerializable(FieldInfo)

Returns true if the specified field metadata is serializable.

public static bool IsSerializable(FieldInfo field)

Parameters

field FieldInfo

The field metadata.

Returns

bool

IsSerializable(MethodInfo)

Returns true if the specified method metadata is serializable.

public static bool IsSerializable(MethodInfo info)

Parameters

info MethodInfo

The method metadata.

Returns

bool

IsSerializable(ParameterInfo)

Returns true if the specified parameter metadata is serializable.

public static bool IsSerializable(ParameterInfo info)

Parameters

info ParameterInfo

The parameter metadata.

Returns

bool

IsSerializable(PropertyInfo)

Returns true if the specified property metadata is serializable.

public static bool IsSerializable(PropertyInfo property)

Parameters

property PropertyInfo

The property metadata.

Returns

bool

IsSerializable(Type)

Returns true if the specified type declaration is serializable.

public static bool IsSerializable(Type type)

Parameters

type Type

The type declaration.

Returns

bool