Class ControllerMarshalerService
Inheritance
System.Object
ControllerMarshalerService
Assembly: Eco.Core.dll
Syntax
public class ControllerMarshalerService : Object
Constructors
ControllerMarshalerService()
Declaration
public ControllerMarshalerService()
Methods
CreateMarshalers()
Calculate and cache all the data needed to manage syncing of controllers.
Declaration
public void CreateMarshalers()
GetAllControllerMethods(Type)
Declaration
public IEnumerable<MethodInfo> GetAllControllerMethods(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Reflection.MethodInfo> |
|
GetAllControllerProperties(Type)
Declaration
public IEnumerable<PropertyInfo> GetAllControllerProperties(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Reflection.PropertyInfo> |
|
GetInterfaceProperties(Type)
Declaration
public IEnumerable<PropertyInfo> GetInterfaceProperties(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Reflection.PropertyInfo> |
|
GetLocalControllerMethods(Type)
Declaration
public IEnumerable<MethodInfo> GetLocalControllerMethods(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Reflection.MethodInfo> |
|
GetLocalControllerProperties(Type)
Declaration
public IEnumerable<PropertyInfo> GetLocalControllerProperties(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Reflection.PropertyInfo> |
|
GetLocalRPCs(Type)
Declaration
public IEnumerable<RPCMethod> GetLocalRPCs(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<RPCMethod> |
|
GetMarshalers()
Declaration
public IReadOnlyCollection<IControllerMarshaler> GetMarshalers()
Returns
TryGetMarshaler(Type, out IControllerMarshaler)
Declaration
public bool TryGetMarshaler(Type type, out IControllerMarshaler marshaler)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Extension Methods