public abstract class DataHandlingAdapter : SafetyDisposableObjectPublic MustInherit Class DataHandlingAdapter
Inherits SafetyDisposableObject[<AbstractClassAttribute>]
type DataHandlingAdapter =
class
inherit SafetyDisposableObject
end| DataHandlingAdapter | 初始化 DataHandlingAdapter 类的一个新实例 |
| CanSendRequestInfo | 是否允许发送IRequestInfo对象。 |
| DisposedValue |
标识该对象是否已被释放
(继承自 DisposableObject。) |
| Logger | 日志记录器。 |
| MaxPackageSize | 获取或设置适配器能接收的最大数据包长度。默认1024*1024 Byte。 |
| Owner | 适配器所有者 |
| Dispose |
释放资源。内部已经处理了SuppressFinalize(Object) (继承自 DisposableObject。) |
| Dispose(Boolean) |
处置资源
(继承自 SafetyDisposableObject。) |
| 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。) |
| OnLoaded | 当适配器在被第一次加载时调用。 |
| Reset | 重置解析器到初始状态。 |
| SafetyDispose |
线程安全模式的释放,无论是IDisposable还是GC执行,都只会触发一次
(继承自 SafetyDisposableObject。) |
| ThrowIfDisposed |
判断当前对象是否已经被释放。
如果已经被释放,则抛出ObjectDisposedException异常。
(继承自 DisposableObject。) |
| ThrowIfMoreThanMaxPackageSize | 如果指定的长度超过最大包大小,则抛出异常。 |
| ToString | Returns a string that represents the current object. (继承自 Object。) |
| Config |
将TouchSocketConfig中的配置,装载在SingleStreamDataHandlingAdapter上。
(由 DataHandlingAdapterExtension 定义。) |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |