Show / Hide Table of Contents

Class ControllerMarshalerService

Service for managing IControllerMarshaler creation and providing marshaling info for ControllerManager and ViewCodeGenerator. Marshaling info then used for generating views for the client and syncing view data using ISyncMemberInfo members.

Inheritance
System.Object
ControllerMarshalerService
Namespace: Eco.Core.Controller
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()

Returns all unique controller marshalers. Only available after CreateMarshalers().

Declaration
public IReadOnlyCollection<IControllerMarshaler> GetMarshalers()
Returns
Type Description
System.Collections.Generic.IReadOnlyCollection<IControllerMarshaler>

TryGetMarshaler(Type, out IControllerMarshaler)

Returns existing IControllerMarshaler (previously created with CreateMarshalers()).

Declaration
public bool TryGetMarshaler(Type type, out IControllerMarshaler marshaler)
Parameters
Type Name Description
System.Type type
IControllerMarshaler marshaler
Returns
Type Description
System.Boolean

Extension Methods

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾