Added Server.Reflection for new Property, Method and Field for setting and getting or invoking methods for more speed.
This commit is contained in:
parent
7c20337781
commit
fbdf46d493
7 changed files with 608 additions and 0 deletions
16
Scripts/Reflection/Global.cs
Normal file
16
Scripts/Reflection/Global.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Server.Reflection
|
||||
{
|
||||
public delegate object InvokeHandler( object target, params object[] paramters );
|
||||
|
||||
public delegate T InvokeHandler<T>( object target, params object[] paramters );
|
||||
|
||||
public delegate V FieldGetInvokeHandler<V>( object target );
|
||||
|
||||
public delegate void FieldSetInvokeHandler<V>( object target, V value );
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue