Show / Hide Table of Contents

Class ModuleRegister

Class managing modules (mostly as extension methods)

Inheritance
System.Object
ModuleRegister
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public static class ModuleRegister

Methods

RegisterConstants(Table)

Registers the standard constants (_G, _VERSION, _MOONSHARP) to a table

Declaration
public static Table RegisterConstants(this Table table)
Parameters
Table table

The table.

Returns
Table

RegisterCoreModules(Table, CoreModules)

Register the core modules to a table

Declaration
public static Table RegisterCoreModules(this Table table, CoreModules modules)
Parameters
Table table

The table.

CoreModules modules

The modules.

Returns
Table

RegisterModuleType(Table, Type)

Registers a module type to the specified table

Declaration
public static Table RegisterModuleType(this Table gtable, Type t)
Parameters
Table gtable

The table.

Type t

The type

Returns
Table

Exceptions
System.ArgumentException

If the module contains some incompatibility

RegisterModuleType<T>(Table)

Registers a module type to the specified table

Declaration
public static Table RegisterModuleType<T>(this Table table)
Parameters
Table table

The table.

Returns
Table

Type Parameters
T

The module type

Exceptions
System.ArgumentException

If the module contains some incompatibility

Back to top Built by Itinero, MIT licensed.