C# Class OpenRA.Scripting.ScriptMemberWrapper

Mostrar archivo Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
IsGetProperty bool
IsMethod bool
IsSetProperty bool
Member System.Reflection.MemberInfo
Target object

Public Methods

Method Description
Get ( LuaRuntime runtime ) : LuaValue
ScriptMemberWrapper ( OpenRA.Scripting.ScriptContext context, object target, MemberInfo mi ) : System
Set ( LuaRuntime runtime, LuaValue value ) : void
WrappableMembers ( Type t ) : IEnumerable

Private Methods

Method Description
Invoke ( LuaVararg args ) : LuaValue

Method Details

Get() public method

public Get ( LuaRuntime runtime ) : LuaValue
runtime LuaRuntime
return LuaValue

ScriptMemberWrapper() public method

public ScriptMemberWrapper ( OpenRA.Scripting.ScriptContext context, object target, MemberInfo mi ) : System
context OpenRA.Scripting.ScriptContext
target object
mi System.Reflection.MemberInfo
return System

Set() public method

public Set ( LuaRuntime runtime, LuaValue value ) : void
runtime LuaRuntime
value LuaValue
return void

WrappableMembers() public static method

public static WrappableMembers ( Type t ) : IEnumerable
t System.Type
return IEnumerable

Property Details

IsGetProperty public_oe property

public bool IsGetProperty
return bool

IsMethod public_oe property

public bool IsMethod
return bool

IsSetProperty public_oe property

public bool IsSetProperty
return bool

Member public_oe property

public MemberInfo,System.Reflection Member
return System.Reflection.MemberInfo

Target public_oe property

public object Target
return object