Class ClassMirror
- Namespace
- ZapLib
- Assembly
- ZapLib.dll
Type 鏡像類別產生工具,使用 Type 來產生對應的實體物件
public class ClassMirror
- Inheritance
-
ClassMirror
- Inherited Members
Constructors
ClassMirror(Type, params object[])
建構子,當 type 屬於專案的一部分(有被使用過) 才可呼叫,產生實體物件,無法建立時 Instance 成員會為 null
public ClassMirror(Type type, params object[] args)
Parameters
Properties
ErrMsg
錯誤訊息
public string ErrMsg { get; }
Property Value
Instance
實體物件
public object Instance { get; }
Property Value
this[string]
在指定的類型中取得指定名稱的方法,無法取得時回傳 null
public MethodInfo this[string MethodName] { get; }
Parameters
MethodNamestring指定方法名稱
Property Value
- MethodInfo
方法的資訊
Type
類型
public Type Type { get; }