OperateResult<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> 方法 |
OperateResult<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> 泛型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | Check(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, OperateResult>) |
返回一个检查结果对象,可以进行自定义的数据检查。 Returns a check result object that allows you to perform custom data checks. |
![]() | Check(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Boolean>, String) |
返回一个检查结果对象,可以进行自定义的数据检查。 Returns a check result object that allows you to perform custom data checks. |
![]() | Convert<T>(T) |
将当前的结果对象转换到指定泛型的结果类对象,如果当前结果为失败,则返回指定泛型的失败结果类对象 (继承自 OperateResult。)Convert the current result object to the result class object of the specified generic type, if the current result is a failure, then return the result class object of the specified generic type failure |
![]() | Convert<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) |
将当前的结果对象转换到指定泛型的结果类对象,如果当前结果为失败,则返回指定泛型的失败结果类对象 (继承自 OperateResult。)Convert the current result object to the result class object of the specified generic type, if the current result is a failure, then return the result class object of the specified generic type failure |
![]() | Convert<T1, T2>(T1, T2) |
将当前的结果对象转换到指定泛型的结果类对象,如果当前结果为失败,则返回指定泛型的失败结果类对象 (继承自 OperateResult。)Convert the current result object to the result class object of the specified generic type, if the current result is a failure, then return the result class object of the specified generic type failure |
![]() | Convert<T1, T2, T3>(T1, T2, T3) |
将当前的结果对象转换到指定泛型的结果类对象,如果当前结果为失败,则返回指定泛型的失败结果类对象 (继承自 OperateResult。)Convert the current result object to the result class object of the specified generic type, if the current result is a failure, then return the result class object of the specified generic type failure |
![]() | Convert<T1, T2, T3, T4>(T1, T2, T3, T4) |
将当前的结果对象转换到指定泛型的结果类对象,如果当前结果为失败,则返回指定泛型的失败结果类对象 (继承自 OperateResult。)Convert the current result object to the result class object of the specified generic type, if the current result is a failure, then return the result class object of the specified generic type failure |
![]() | Convert<T1, T2, T3, T4, T5>(T1, T2, T3, T4, T5) |
将当前的结果对象转换到指定泛型的结果类对象,如果当前结果为失败,则返回指定泛型的失败结果类对象 (继承自 OperateResult。)Convert the current result object to the result class object of the specified generic type, if the current result is a failure, then return the result class object of the specified generic type failure |
![]() | Convert<T1, T2, T3, T4, T5, T6>(T1, T2, T3, T4, T5, T6) |
将当前的结果对象转换到指定泛型的结果类对象,如果当前结果为失败,则返回指定泛型的失败结果类对象 (继承自 OperateResult。)Convert the current result object to the result class object of the specified generic type, if the current result is a failure, then return the result class object of the specified generic type failure |
![]() | Convert<T1, T2, T3, T4, T5, T6, T7>(T1, T2, T3, T4, T5, T6, T7) |
将当前的结果对象转换到指定泛型的结果类对象,如果当前结果为失败,则返回指定泛型的失败结果类对象 (继承自 OperateResult。)Convert the current result object to the result class object of the specified generic type, if the current result is a failure, then return the result class object of the specified generic type failure |
![]() | Convert<T1, T2, T3, T4, T5, T6, T7, T8>(T1, T2, T3, T4, T5, T6, T7, T8) |
将当前的结果对象转换到指定泛型的结果类对象,如果当前结果为失败,则返回指定泛型的失败结果类对象 (继承自 OperateResult。)Convert the current result object to the result class object of the specified generic type, if the current result is a failure, then return the result class object of the specified generic type failure |
![]() | Convert<T1, T2, T3, T4, T5, T6, T7, T8, T9>(T1, T2, T3, T4, T5, T6, T7, T8, T9) |
将当前的结果对象转换到指定泛型的结果类对象,如果当前结果为失败,则返回指定泛型的失败结果类对象 (继承自 OperateResult。)Convert the current result object to the result class object of the specified generic type, if the current result is a failure, then return the result class object of the specified generic type failure |
![]() | ConvertFailed<T>() |
将当前的结果对象转换到指定泛型的结果类对象,直接返回指定泛型的失败结果类对象 (继承自 OperateResult。)Convert the current result object to the result class object of the specified generic type, and directly return the result class object of the specified generic type failure |
![]() | CopyErrorFromOther<TResult> |
从另一个结果类中拷贝错误信息,主要是针对错误码和错误消息。 (继承自 OperateResult。)Copy error information from another result class, mainly for error codes and error messages. |
![]() | 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。) |
![]() | Then(Func<OperateResult>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 (继承自 OperateResult。)Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, OperateResult>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<T>(Func<OperateResult<T>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 (继承自 OperateResult。)Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, OperateResult<TResult>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。
|
![]() | Then<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<OperateResult<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 (继承自 OperateResult。)Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<TResult1, TResult2, TResult3, TResult4, TResult5, TResult6, TResult7, TResult8, TResult9, TResult10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, OperateResult<TResult1, TResult2, TResult3, TResult4, TResult5, TResult6, TResult7, TResult8, TResult9, TResult10>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<T1, T2>(Func<OperateResult<T1, T2>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 (继承自 OperateResult。)Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<TResult1, TResult2>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, OperateResult<TResult1, TResult2>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<T1, T2, T3>(Func<OperateResult<T1, T2, T3>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 (继承自 OperateResult。)Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<TResult1, TResult2, TResult3>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, OperateResult<TResult1, TResult2, TResult3>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<T1, T2, T3, T4>(Func<OperateResult<T1, T2, T3, T4>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 (继承自 OperateResult。)Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<TResult1, TResult2, TResult3, TResult4>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, OperateResult<TResult1, TResult2, TResult3, TResult4>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<T1, T2, T3, T4, T5>(Func<OperateResult<T1, T2, T3, T4, T5>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 (继承自 OperateResult。)Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<TResult1, TResult2, TResult3, TResult4, TResult5>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, OperateResult<TResult1, TResult2, TResult3, TResult4, TResult5>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<T1, T2, T3, T4, T5, T6>(Func<OperateResult<T1, T2, T3, T4, T5, T6>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 (继承自 OperateResult。)Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<TResult1, TResult2, TResult3, TResult4, TResult5, TResult6>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, OperateResult<TResult1, TResult2, TResult3, TResult4, TResult5, TResult6>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<T1, T2, T3, T4, T5, T6, T7>(Func<OperateResult<T1, T2, T3, T4, T5, T6, T7>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 (继承自 OperateResult。)Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<TResult1, TResult2, TResult3, TResult4, TResult5, TResult6, TResult7>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, OperateResult<TResult1, TResult2, TResult3, TResult4, TResult5, TResult6, TResult7>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<T1, T2, T3, T4, T5, T6, T7, T8>(Func<OperateResult<T1, T2, T3, T4, T5, T6, T7, T8>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 (继承自 OperateResult。)Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<TResult1, TResult2, TResult3, TResult4, TResult5, TResult6, TResult7, TResult8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, OperateResult<TResult1, TResult2, TResult3, TResult4, TResult5, TResult6, TResult7, TResult8>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<OperateResult<T1, T2, T3, T4, T5, T6, T7, T8, T9>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 (继承自 OperateResult。)Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | Then<TResult1, TResult2, TResult3, TResult4, TResult5, TResult6, TResult7, TResult8, TResult9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, OperateResult<TResult1, TResult2, TResult3, TResult4, TResult5, TResult6, TResult7, TResult8, TResult9>>) |
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。 Specify what you want to do next, return the result of the execution of the current object if it succeeds, and return the current object itself if it fails. |
![]() | ToMessageShowString |
获取错误代号及文本描述。 (继承自 OperateResult。)Get the error code and text description. |
![]() | ToString | Returns a string that represents the current object. (继承自 Object。) |
名称 | 说明 | |
---|---|---|
![]() | ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |