public class SingleStreamDataAdapterTester<TAdapter, TRequest> : DisposableObject
where TAdapter : CustomDataHandlingAdapter<TRequest>
where TRequest : class, IRequestInfo
Public Class SingleStreamDataAdapterTester(Of TAdapter As CustomDataHandlingAdapter(Of TRequest), TRequest As {Class, IRequestInfo})
Inherits DisposableObject
type SingleStreamDataAdapterTester<'TAdapter, 'TRequest when 'TAdapter : CustomDataHandlingAdapter<'TRequest> when 'TRequest : not struct and IRequestInfo> =
class
inherit DisposableObject
end
[缺少 "T:TouchSocket.Core.SingleStreamDataAdapterTester`2" 的 <typeparam name="TAdapter"/> 文档]
[缺少 "T:TouchSocket.Core.SingleStreamDataAdapterTester`2" 的 <typeparam name="TRequest"/> 文档]
SingleStreamDataAdapterTesterTAdapter, TRequest | Tcp数据处理适配器测试 |
DisposedValue |
标识该对象是否已被释放
(继承自 DisposableObject。) |
Dispose |
释放资源。内部已经处理了SuppressFinalize(Object) (继承自 DisposableObject。) |
Dispose(Boolean) |
处置资源
(继承自 DisposableObject。) |
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。) |
Run(Byte, Int32, Int32, Int32) | 模拟发送 |
Run(Byte, Int32, Int32, Int32, Int32, Int32) | 模拟测试运行发送 |
ThrowIfDisposed |
判断当前对象是否已经被释放。
如果已经被释放,则抛出ObjectDisposedException异常。
(继承自 DisposableObject。) |
ToString | Returns a string that represents the current object. (继承自 Object。) |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |