Class ControllerMarshaler
Inheritance
System.Object
ControllerMarshaler
Assembly: Eco.Core.dll
Syntax
public class ControllerMarshaler : Object, IControllerMarshaler
Constructors
ControllerMarshaler(Type, String)
Declaration
public ControllerMarshaler(Type controllerType, string viewTypeName = null)
Parameters
Type |
Name |
Description |
System.Type |
controllerType |
|
System.String |
viewTypeName |
|
Fields
ControllerInfo
Declaration
public readonly Dictionary<int, ISyncMemberInfo> ControllerInfo
Field Value
Type |
Description |
System.Collections.Generic.Dictionary<System.Int32, ISyncMemberInfo> |
|
Dependencies
Declaration
public readonly Dictionary<string, string[]> Dependencies
Field Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.String[]> |
|
RPCs
Declaration
public readonly List<ViewRPC> RPCs
Field Value
Type |
Description |
System.Collections.Generic.List<ViewRPC> |
|
Properties
BaseMarshaler
Declaration
public IControllerMarshaler BaseMarshaler { get; set; }
Property Value
ClassInfo
Declaration
public ViewClassInfo ClassInfo { get; set; }
Property Value
ControllerType
Declaration
public Type ControllerType { get; }
Property Value
Type |
Description |
System.Type |
|
GeneratesView
Declaration
public bool GeneratesView { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsConstant
Declaration
public bool IsConstant { get; }
Property Value
Type |
Description |
System.Boolean |
|
NameToProperty
Declaration
public Dictionary<string, ViewMemberInfo> NameToProperty { get; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, ViewMemberInfo> |
|
ViewTypeName
Declaration
public string ViewTypeName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
CreateInstance()
Declaration
public object CreateInstance()
Returns
Type |
Description |
System.Object |
|
GetAllInterfaces()
Returns own implemented interfaces (not inherited from base types).
Declaration
public IEnumerable<Type> GetAllInterfaces()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Type> |
|
GetOwnInterfaces()
Returns own implemented interfaces (not inherited from base types).
Declaration
public IEnumerable<Type> GetOwnInterfaces()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Type> |
|
GetSyncMemberInfos()
Declaration
public IEnumerable<KeyValuePair<int, ISyncMemberInfo>> GetSyncMemberInfos()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Int32, ISyncMemberInfo>> |
|
TryGetDependentMembers(String, out String[])
Declaration
public bool TryGetDependentMembers(string memberName, out string[] dependencies)
Parameters
Type |
Name |
Description |
System.String |
memberName |
|
System.String[] |
dependencies |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetSyncMemberInfo(Int32, out ISyncMemberInfo)
Declaration
public bool TryGetSyncMemberInfo(int nameId, out ISyncMemberInfo info)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
Extension Methods