Show / Hide Table of Contents

Class SyncMemberInfoBase

Base class for ISyncMemberInfo implementations with shared logic.

Inheritance
System.Object
SyncMemberInfoBase
SyncMethodInfo
Implements
ISyncMemberInfo
Namespace: Eco.Core.Controller
Assembly: Eco.Core.dll
Syntax
public abstract class SyncMemberInfoBase : Object, ISyncMemberInfo

Constructors

SyncMemberInfoBase(MemberInfo, Int32, String)

Declaration
protected SyncMemberInfoBase(MemberInfo memberInfo, int id, string name)
Parameters
Type Name Description
System.Reflection.MemberInfo memberInfo
System.Int32 id
System.String name

Properties

Flags

Declaration
public SyncFlags Flags { get; }
Property Value
Type Description
SyncFlags

ID

Declaration
public int ID { get; }
Property Value
Type Description
System.Int32

Name

Declaration
public string Name { get; }
Property Value
Type Description
System.String

PerPlayerMember

Declaration
public abstract bool PerPlayerMember { get; }
Property Value
Type Description
System.Boolean

Methods

GetAccessMethodInfo(MethodInfo)

Returns System.Reflection.MethodInfo which may be used for getter generation. For generic type definitions it will try to use declaring type (base type or interface).

Declaration
protected MethodInfo GetAccessMethodInfo(MethodInfo methodInfo)
Parameters
Type Name Description
System.Reflection.MethodInfo methodInfo
Returns
Type Description
System.Reflection.MethodInfo
Exceptions
Type Condition
System.ArgumentException

If this member may not be accessed via both reflected and declaring type.

GetValue(IMvcNetClient, Object)

Declaration
public abstract object GetValue(IMvcNetClient client, object obj)
Parameters
Type Name Description
IMvcNetClient client
System.Object obj
Returns
Type Description
System.Object

Implements

ISyncMemberInfo

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
☀
☾