public readonly struct ClientFactoryResult<TClient> : IDisposable
where TClient : IClient
Public Structure ClientFactoryResult(Of TClient As IClient)
Implements IDisposable[<SealedAttribute>]
type ClientFactoryResult<'TClient when 'TClient : IClient> =
struct
inherit ValueType
interface IDisposable
end| ClientFactoryResultTClient | 初始化客户端工厂结果 |
| Client | 客户端 |
| Dispose | 释放资源,执行对客户端的操作 |
| Equals | Indicates whether this instance and a specified object are equal. (继承自 ValueType。) |
| GetHashCode | Returns the hash code for this instance. (继承自 ValueType。) |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| ToString | Returns the fully qualified type name of this instance. (继承自 ValueType。) |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| SafeDispose |
安全性释放(不用判断对象是否为空)。不会抛出任何异常。
(由 SystemExtension 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |