T_Cyjb_Reflection_Converter - CYJB/Cyjb GitHub Wiki

Converter 类

表示类型转换的 IL 指令。

继承层次

System.Object
  Cyjb.Reflection.Converter
Namespace: Cyjb.Reflection
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public class Converter

The Converter type exposes the following members.

属性

 

名称 说明
公共属性 NeedEmit 获取是否需要写入 IL(一些类型转换并不需要写入 IL)。
公共属性 PassByAddr 获取要转换的参数是否需要从值转换为其地址。
  Back to Top

方法

 

名称 说明
公共方法 Emit 写入类型转换的 IL 指令。
公共方法 Equals Determines whether the specified object is equal to the current object. (继承自 Object。)
受保护的方法 Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。)
公共方法 GetHashCode Serves as the default hash function. (继承自 Object。)
公共方法 GetType Gets the Type of the current instance. (继承自 Object。)
受保护的方法 MemberwiseClone Creates a shallow copy of the current Object. (继承自 Object。)
公共方法 ToString Returns a string that represents the current object. (继承自 Object。)
  Back to Top

参见

Reference

Cyjb.Reflection 命名空间

⚠️ **GitHub.com Fallback** ⚠️