📁 通过 Jenkins 自动化发布 v2.16.9 文档

pull/379/head
Monk 4 years ago
parent 0d445b73eb
commit 859c869864

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -7,8 +7,8 @@
<link rel="alternate" type="application/rss+xml" href="/furion/blog/rss.xml" title="Furion Blog RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/furion/blog/atom.xml" title="Furion Blog Atom Feed">
<link rel="search" type="application/opensearchdescription+xml" title="Furion" href="/furion/opensearch.xml"><title data-react-helmet="true">5. 在控制台中使用 | Furion</title><meta data-react-helmet="true" property="og:title" content="5. 在控制台中使用 | Furion"><meta data-react-helmet="true" name="description" content="Furion 从 v2.15.3+ 版本开始,支持全平台应用程序开发,包括 Web控制台WinFormWPFXamarin/MAUI 等。"><meta data-react-helmet="true" property="og:description" content="Furion 从 v2.15.3+ 版本开始,支持全平台应用程序开发,包括 Web控制台WinFormWPFXamarin/MAUI 等。"><meta data-react-helmet="true" property="og:url" content="https://furion.pro/furion/blog/console"><meta data-react-helmet="true" name="docsearch:language" content="en"><meta data-react-helmet="true" name="docsearch:docusaurus_tag" content="default"><link data-react-helmet="true" rel="shortcut icon" href="/furion/img/favicon.ico"><link data-react-helmet="true" rel="canonical" href="https://furion.pro/furion/blog/console"><link data-react-helmet="true" rel="alternate" href="https://furion.pro/furion/blog/console" hreflang="en"><link data-react-helmet="true" rel="alternate" href="https://furion.pro/furion/blog/console" hreflang="x-default"><link data-react-helmet="true" rel="preconnect" href="https://BH4D9OD16A-dsn.algolia.net" crossorigin="anonymous"><link rel="stylesheet" href="/furion/assets/css/styles.9213d4d0.css">
<link rel="preload" href="/furion/assets/js/runtime~main.2c01cefb.js" as="script">
<link rel="preload" href="/furion/assets/js/main.f5fcfd00.js" as="script">
<link rel="preload" href="/furion/assets/js/runtime~main.89c3ef48.js" as="script">
<link rel="preload" href="/furion/assets/js/main.fac931ad.js" as="script">
</head>
<body>
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
@ -18,7 +18,7 @@
</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> Console.WriteLine(&quot;=============&quot;);</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block">
</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> var baidu = &quot;https://www.baidu.com&quot;.GetAsStringAsync().GetAwaiter().GetResult();</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> Console.WriteLine(baidu);</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> }</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> }</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block">
</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> public interface IHelloService</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> {</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> string SayHello();</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> }</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> public class HelloService : IHelloService, ITransient</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> {</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> public string SayHello()</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> {</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> return &quot;Hello Furion.&quot;;</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> }</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> }</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">}</span></span></code></pre><button type="button" aria-label="Copy code to clipboard" class="copyButton_Ue-o clean-btn">Copy</button></div></div><p>以上代码通过 <code>var services = Inject.Create();</code> 创建一个服务集合,最后通过 <code>services.Build()</code> 即可完成初始化。</p></div><footer class="row docusaurus-mt-lg blogPostDetailsFull_3kfx"><div class="col"><b>Tags:</b><a class="margin-horiz--sm" href="/furion/blog/tags/furion">furion</a><a class="margin-horiz--sm" href="/furion/blog/tags/furos">furos</a><a class="margin-horiz--sm" href="/furion/blog/tags/net">.net</a><a class="margin-horiz--sm" href="/furion/blog/tags/netcore">.netcore</a><a class="margin-horiz--sm" href="/furion/blog/tags/net-5">.net5</a><a class="margin-horiz--sm" href="/furion/blog/tags/net-6">.net6</a></div><div class="col margin-top--sm"><a href="https://gitee.com/dotnetchina/Furion/tree/master/handbook/blog/2021-07-24-console.mdx" target="_blank" rel="noreferrer noopener"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_2_ui" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Blog post page navigation"><div class="pagination-nav__item"></div><div class="pagination-nav__item pagination-nav__item--next"><a class="pagination-nav__link" href="/furion/blog/net6-preview6"><div class="pagination-nav__sublabel">Older Post</div><div class="pagination-nav__label">4. .NET 6 Preview 6 尝鲜 »</div></a></div></nav></main><div class="col col--2"><div class="tableOfContents_35-E thin-scrollbar"></div></div></div></div></div><footer class="footer footer--dark"><div class="container"><div class="row footer__links"><div class="col footer__col"><h4 class="footer__title">文档</h4><ul class="footer__items"><li class="footer__item"><a class="footer__link-item" href="/furion/docs/get-start">入门</a></li><li class="footer__item"><a class="footer__link-item" href="/furion/docs">指南</a></li></ul></div><div class="col footer__col"><h4 class="footer__title">社区</h4><ul class="footer__items"><li class="footer__item"><a href="https://gitee.com/dotnetchina/Furion/issues" target="_blank" rel="noopener noreferrer" class="footer__link-item">讨论</a></li><li class="footer__item"><a href="https://gitee.com/dotnetchina/Furion/board" target="_blank" rel="noopener noreferrer" class="footer__link-item">看板</a></li></ul></div><div class="col footer__col"><h4 class="footer__title">更多</h4><ul class="footer__items"><li class="footer__item"><a class="footer__link-item" href="/furion/blog">博客</a></li><li class="footer__item"><a href="https://gitee.com/dotnetchina/Furion" target="_blank" rel="noopener noreferrer" class="footer__link-item">仓库</a></li></ul></div></div><div class="footer__bottom text--center"><div class="margin-bottom--sm"><a href="https://gitee.com/dotnetchina" target="_blank" rel="noopener noreferrer" class="footerLogoLink_qW4Z"><img class="footer__logo" src="/furion/img/chinadotnet.png" style="background:#fff;padding:5px 10px"></a></div><div class="footer__copyright">Copyright © 2020-2021 Furion, Baiqian Co.,Ltd.</div></div></div></footer></div>
<script src="/furion/assets/js/runtime~main.2c01cefb.js"></script>
<script src="/furion/assets/js/main.f5fcfd00.js"></script>
<script src="/furion/assets/js/runtime~main.89c3ef48.js"></script>
<script src="/furion/assets/js/main.fac931ad.js"></script>
</body>
</html>

@ -7,8 +7,8 @@
<link rel="alternate" type="application/rss+xml" href="/furion/blog/rss.xml" title="Furion Blog RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/furion/blog/atom.xml" title="Furion Blog Atom Feed">
<link rel="search" type="application/opensearchdescription+xml" title="Furion" href="/furion/opensearch.xml"><title data-react-helmet="true">2. 文件上传下载 | Furion</title><meta data-react-helmet="true" property="og:title" content="2. 文件上传下载 | Furion"><meta data-react-helmet="true" name="description" content="文件下载"><meta data-react-helmet="true" property="og:description" content="文件下载"><meta data-react-helmet="true" property="og:url" content="https://furion.pro/furion/blog/fileupload-download"><meta data-react-helmet="true" name="docsearch:language" content="en"><meta data-react-helmet="true" name="docsearch:docusaurus_tag" content="default"><link data-react-helmet="true" rel="shortcut icon" href="/furion/img/favicon.ico"><link data-react-helmet="true" rel="canonical" href="https://furion.pro/furion/blog/fileupload-download"><link data-react-helmet="true" rel="alternate" href="https://furion.pro/furion/blog/fileupload-download" hreflang="en"><link data-react-helmet="true" rel="alternate" href="https://furion.pro/furion/blog/fileupload-download" hreflang="x-default"><link data-react-helmet="true" rel="preconnect" href="https://BH4D9OD16A-dsn.algolia.net" crossorigin="anonymous"><link rel="stylesheet" href="/furion/assets/css/styles.9213d4d0.css">
<link rel="preload" href="/furion/assets/js/runtime~main.2c01cefb.js" as="script">
<link rel="preload" href="/furion/assets/js/main.f5fcfd00.js" as="script">
<link rel="preload" href="/furion/assets/js/runtime~main.89c3ef48.js" as="script">
<link rel="preload" href="/furion/assets/js/main.fac931ad.js" as="script">
</head>
<body>
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
@ -17,7 +17,7 @@
</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> foreach (var formFile in files)</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> {</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> if (formFile.Length &gt; 0)</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> {</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> // 避免文件名重复,采用 GUID 生成</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> var filePath = Path.Combine(savePath, Guid.NewGuid().ToString(&quot;N&quot;) + Path.GetExtension(formFile.FileName)); // 可以替代为你需要存储的真实路径</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block">
</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> using (var stream = System.IO.File.Create(filePath))</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> {</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> await formFile.CopyToAsync(stream);</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> }</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> }</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> }</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block">
</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> // 在动态 API 直接返回对象即可,无需 OK 和 IActionResult</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> return Ok(new { count = files.Count, size });</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">}</span></span></code></pre><button type="button" aria-label="Copy code to clipboard" class="copyButton_Ue-o clean-btn">Copy</button></div></div></div><footer class="row docusaurus-mt-lg blogPostDetailsFull_3kfx"><div class="col"><b>Tags:</b><a class="margin-horiz--sm" href="/furion/blog/tags/furion">furion</a><a class="margin-horiz--sm" href="/furion/blog/tags/furos">furos</a><a class="margin-horiz--sm" href="/furion/blog/tags/net">.net</a><a class="margin-horiz--sm" href="/furion/blog/tags/netcore">.netcore</a><a class="margin-horiz--sm" href="/furion/blog/tags/net-5">.net5</a><a class="margin-horiz--sm" href="/furion/blog/tags/upload">upload</a><a class="margin-horiz--sm" href="/furion/blog/tags/download">download</a></div><div class="col margin-top--sm"><a href="https://gitee.com/dotnetchina/Furion/tree/master/handbook/blog/2021-02-02-fileupload-download.mdx" target="_blank" rel="noreferrer noopener"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_2_ui" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Blog post page navigation"><div class="pagination-nav__item"><a class="pagination-nav__link" href="/furion/blog/net6-preview5"><div class="pagination-nav__sublabel">Newer Post</div><div class="pagination-nav__label">« 3. .NET 6 Preview 5 尝鲜</div></a></div><div class="pagination-nav__item pagination-nav__item--next"><a class="pagination-nav__link" href="/furion/blog/httpcontext"><div class="pagination-nav__sublabel">Older Post</div><div class="pagination-nav__label">1. HttpContext 应用 »</div></a></div></nav></main><div class="col col--2"><div class="tableOfContents_35-E thin-scrollbar"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#文件下载" class="table-of-contents__link">文件下载</a></li><li><a href="#文件上传" class="table-of-contents__link">文件上传</a></li></ul></div></div></div></div></div><footer class="footer footer--dark"><div class="container"><div class="row footer__links"><div class="col footer__col"><h4 class="footer__title">文档</h4><ul class="footer__items"><li class="footer__item"><a class="footer__link-item" href="/furion/docs/get-start">入门</a></li><li class="footer__item"><a class="footer__link-item" href="/furion/docs">指南</a></li></ul></div><div class="col footer__col"><h4 class="footer__title">社区</h4><ul class="footer__items"><li class="footer__item"><a href="https://gitee.com/dotnetchina/Furion/issues" target="_blank" rel="noopener noreferrer" class="footer__link-item">讨论</a></li><li class="footer__item"><a href="https://gitee.com/dotnetchina/Furion/board" target="_blank" rel="noopener noreferrer" class="footer__link-item">看板</a></li></ul></div><div class="col footer__col"><h4 class="footer__title">更多</h4><ul class="footer__items"><li class="footer__item"><a class="footer__link-item" href="/furion/blog">博客</a></li><li class="footer__item"><a href="https://gitee.com/dotnetchina/Furion" target="_blank" rel="noopener noreferrer" class="footer__link-item">仓库</a></li></ul></div></div><div class="footer__bottom text--center"><div class="margin-bottom--sm"><a href="https://gitee.com/dotnetchina" target="_blank" rel="noopener noreferrer" class="footerLogoLink_qW4Z"><img class="footer__logo" src="/furion/img/chinadotnet.png" style="background:#fff;padding:5px 10px"></a></div><div class="footer__copyright">Copyright © 2020-2021 Furion, Baiqian Co.,Ltd.</div></div></div></footer></div>
<script src="/furion/assets/js/runtime~main.2c01cefb.js"></script>
<script src="/furion/assets/js/main.f5fcfd00.js"></script>
<script src="/furion/assets/js/runtime~main.89c3ef48.js"></script>
<script src="/furion/assets/js/main.fac931ad.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -7,8 +7,8 @@
<link rel="alternate" type="application/rss+xml" href="/furion/blog/rss.xml" title="Furion Blog RSS Feed">
<link rel="alternate" type="application/atom+xml" href="/furion/blog/atom.xml" title="Furion Blog Atom Feed">
<link rel="search" type="application/opensearchdescription+xml" title="Furion" href="/furion/opensearch.xml"><title data-react-helmet="true">4. Oops 静态类 | Furion</title><meta data-react-helmet="true" property="og:url" content="https://furion.pro/furion/docs/global/oops"><meta data-react-helmet="true" name="docsearch:language" content="en"><meta data-react-helmet="true" name="docsearch:version" content="current"><meta data-react-helmet="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-react-helmet="true" property="og:title" content="4. Oops 静态类 | Furion"><meta data-react-helmet="true" name="description" content="4.1 抛出字符串异常"><meta data-react-helmet="true" property="og:description" content="4.1 抛出字符串异常"><link data-react-helmet="true" rel="shortcut icon" href="/furion/img/favicon.ico"><link data-react-helmet="true" rel="canonical" href="https://furion.pro/furion/docs/global/oops"><link data-react-helmet="true" rel="alternate" href="https://furion.pro/furion/docs/global/oops" hreflang="en"><link data-react-helmet="true" rel="alternate" href="https://furion.pro/furion/docs/global/oops" hreflang="x-default"><link data-react-helmet="true" rel="preconnect" href="https://BH4D9OD16A-dsn.algolia.net" crossorigin="anonymous"><link rel="stylesheet" href="/furion/assets/css/styles.9213d4d0.css">
<link rel="preload" href="/furion/assets/js/runtime~main.2c01cefb.js" as="script">
<link rel="preload" href="/furion/assets/js/main.f5fcfd00.js" as="script">
<link rel="preload" href="/furion/assets/js/runtime~main.89c3ef48.js" as="script">
<link rel="preload" href="/furion/assets/js/main.fac931ad.js" as="script">
</head>
<body>
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
@ -16,7 +16,7 @@
</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">// 带返回值</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">var value = Oops.Retry&lt;int&gt;(() =&gt; {</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> // Do.....</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">}, 3, 1000);</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block">
</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">// 只有特定异常才监听</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">Oops.Retry(() =&gt; {</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block">
</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">}, 3, 1000, typeof(ArgumentNullException));</span></span></code></pre><button type="button" aria-label="Copy code to clipboard" class="copyButton_Ue-o clean-btn">Copy</button></div></div><h2><a aria-hidden="true" tabindex="-1" class="anchor" id="46-抛出业务异常"></a>4.6 抛出业务异常<a class="hash-link" href="#46-抛出业务异常" title="Direct link to heading">#</a></h2><div class="codeBlockContainer_K1bP"><div class="codeBlockContent_hGly cs"><pre tabindex="0" class="prism-code language-cs codeBlock_23N8 thin-scrollbar" style="color:#bfc7d5;background-color:#292d3e"><code class="codeBlockLines_39YC"><span class="token-line" style="color:#bfc7d5"><span class="token plain">throw Oops.Bah(&quot;用户名或密码错误&quot;);</span></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">throw Oops.Bah(1000);</span></span></code></pre><button type="button" aria-label="Copy code to clipboard" class="copyButton_Ue-o clean-btn">Copy</button></div></div></div><footer class="row docusaurus-mt-lg"><div class="col"><a href="https://gitee.com/dotnetchina/Furion/tree/master/handbook/docs/global/oops.mdx" target="_blank" rel="noreferrer noopener"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_2_ui" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><div class="col lastUpdated_3DPF">Last updated on <b><time datetime="2021-07-25T10:02:20.000Z">7/25/2021</time></b> by <b>百小僧</b></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages navigation"><div class="pagination-nav__item"><a class="pagination-nav__link" href="/furion/docs/global/datavalidator"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">« 3. DataValidator 静态类</div></a></div><div class="pagination-nav__item pagination-nav__item--next"><a class="pagination-nav__link" href="/furion/docs/global/linqexpression"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">5. LinqExpression 静态类 »</div></a></div></nav></div></div><div class="col col--3"><div class="tableOfContents_35-E thin-scrollbar"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#41-抛出字符串异常" class="table-of-contents__link">4.1 抛出字符串异常</a></li><li><a href="#42-指定类型的异常" class="table-of-contents__link">4.2 指定类型的异常</a></li><li><a href="#43-状态码异常" class="table-of-contents__link">4.3 状态码异常</a></li><li><a href="#44-状态码异常" class="table-of-contents__link">4.4 状态码异常</a></li><li><a href="#45-异常方法重试" class="table-of-contents__link">4.5 异常方法重试</a></li><li><a href="#46-抛出业务异常" class="table-of-contents__link">4.6 抛出业务异常</a></li></ul></div></div></div></div></main></div></div><footer class="footer footer--dark"><div class="container"><div class="row footer__links"><div class="col footer__col"><h4 class="footer__title">文档</h4><ul class="footer__items"><li class="footer__item"><a class="footer__link-item" href="/furion/docs/get-start">入门</a></li><li class="footer__item"><a class="footer__link-item" href="/furion/docs">指南</a></li></ul></div><div class="col footer__col"><h4 class="footer__title">社区</h4><ul class="footer__items"><li class="footer__item"><a href="https://gitee.com/dotnetchina/Furion/issues" target="_blank" rel="noopener noreferrer" class="footer__link-item">讨论</a></li><li class="footer__item"><a href="https://gitee.com/dotnetchina/Furion/board" target="_blank" rel="noopener noreferrer" class="footer__link-item">看板</a></li></ul></div><div class="col footer__col"><h4 class="footer__title">更多</h4><ul class="footer__items"><li class="footer__item"><a class="footer__link-item" href="/furion/blog">博客</a></li><li class="footer__item"><a href="https://gitee.com/dotnetchina/Furion" target="_blank" rel="noopener noreferrer" class="footer__link-item">仓库</a></li></ul></div></div><div class="footer__bottom text--center"><div class="margin-bottom--sm"><a href="https://gitee.com/dotnetchina" target="_blank" rel="noopener noreferrer" class="footerLogoLink_qW4Z"><img class="footer__logo" src="/furion/img/chinadotnet.png" style="background:#fff;padding:5px 10px"></a></div><div class="footer__copyright">Copyright © 2020-2021 Furion, Baiqian Co.,Ltd.</div></div></div></footer></div>
<script src="/furion/assets/js/runtime~main.2c01cefb.js"></script>
<script src="/furion/assets/js/main.f5fcfd00.js"></script>
<script src="/furion/assets/js/runtime~main.89c3ef48.js"></script>
<script src="/furion/assets/js/main.fac931ad.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save