Interface IControllerMarshaler
Base interface for all controller marshalers (enums, IController classes, primitive types).
Assembly: Eco.Core.dll
Syntax
public interface IControllerMarshaler
Properties
BaseMarshaler
Declaration
IControllerMarshaler BaseMarshaler { get; }
Property Value
ClassInfo
Declaration
ViewClassInfo ClassInfo { get; }
Property Value
ControllerType
Declaration
Type ControllerType { get; }
Property Value
Type |
Description |
System.Type |
|
GeneratesView
Declaration
bool GeneratesView { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsConstant
Declaration
Property Value
Type |
Description |
System.Boolean |
|
NameToProperty
Declaration
Dictionary<string, ViewMemberInfo> NameToProperty { get; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, ViewMemberInfo> |
|
ViewTypeName
Declaration
string ViewTypeName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
CreateInstance()
Creates instance of controller.
Declaration
Returns
Type |
Description |
System.Object |
|
GetAllInterfaces()
Returns all interfaces implemented by class.
Declaration
IEnumerable<Type> GetAllInterfaces()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Type> |
|
GetOwnInterfaces()
Returns only own interfaces implemented by class (non-inherited).
Declaration
IEnumerable<Type> GetOwnInterfaces()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Type> |
|
GetSyncMemberInfos()
Returns all sync property infos for the marshaled type as pairs of (nameId, memberSyncInfo).
Declaration
IEnumerable<KeyValuePair<int, ISyncMemberInfo>> GetSyncMemberInfos()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Int32, ISyncMemberInfo>> |
|
TryGetDependentMembers(String, out String[])
Tries to get other members which depends on memberName
.
Declaration
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)
Tries to get sync info for member with nameId
.
Declaration
bool TryGetSyncMemberInfo(int nameId, out ISyncMemberInfo info)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Extension Methods