You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
54 KiB
JavaScript
1 line
54 KiB
JavaScript
12 months ago
|
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[7903],{313:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>t,contentTitle:()=>d,default:()=>h,frontMatter:()=>i,metadata:()=>l,toc:()=>p});var r=s(5893),o=s(1151),c=s(510);const i={id:"component",title:"3.2 \u7ec4\u4ef6\u5316\u542f\u52a8",sidebar_label:"3.2 \u7ec4\u4ef6\u5316\u542f\u52a8",description:"\u7ec4\u4ef6\u5316\u914d\u7f6e\u4f9d\u8d56\u670d\u52a1\u6216\u8bb8\u662f\u6700\u4f73\u5b9e\u8df5"},d=void 0,l={id:"component",title:"3.2 \u7ec4\u4ef6\u5316\u542f\u52a8",description:"\u7ec4\u4ef6\u5316\u914d\u7f6e\u4f9d\u8d56\u670d\u52a1\u6216\u8bb8\u662f\u6700\u4f73\u5b9e\u8df5",source:"@site/docs/component.mdx",sourceDirName:".",slug:"/component",permalink:"/docs/component",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/component.mdx",tags:[],version:"current",lastUpdatedBy:"\u767e\u5c0f\u50e7",lastUpdatedAt:1695424618,formattedLastUpdatedAt:"Sep 22, 2023",frontMatter:{id:"component",title:"3.2 \u7ec4\u4ef6\u5316\u542f\u52a8",sidebar_label:"3.2 \u7ec4\u4ef6\u5316\u542f\u52a8",description:"\u7ec4\u4ef6\u5316\u914d\u7f6e\u4f9d\u8d56\u670d\u52a1\u6216\u8bb8\u662f\u6700\u4f73\u5b9e\u8df5"},sidebar:"docs",previous:{title:"3.1 AppStartup \u542f\u52a8",permalink:"/docs/appstartup"},next:{title:"4. \u914d\u7f6e\u4e0e\u9009\u9879",permalink:"/docs/category/configuration"}},t={},p=[{value:"3.2.1 \u5386\u53f2\u80cc\u666f",id:"321-\u5386\u53f2\u80cc\u666f",level:2},{value:"3.2.2 \u5148\u770b\u4e00\u4e2a\u4f8b\u5b50",id:"322-\u5148\u770b\u4e00\u4e2a\u4f8b\u5b50",level:2},{value:"3.2.3 \u5f53\u7136\u6709\u89e3",id:"323-\u5f53\u7136\u6709\u89e3",level:2},{value:"3.2.4 <code>IComponent</code>",id:"324-icomponent",level:2},{value:"3.2.4.1 <code>IServiceComponent</code>",id:"3241-iservicecomponent",level:3},{value:"3.2.4.2 <code>IApplicationComponent</code>",id:"3242-iapplicationcomponent",level:3},{value:"3.2.4.3 <code>IWebComponent</code>",id:"3243-iwebcomponent",level:3},{value:"3.2.4.4 \u6ce8\u518c\u7ec4\u4ef6",id:"3244-\u6ce8\u518c\u7ec4\u4ef6",level:3},{value:"3.2.5 \u7ec4\u4ef6\u8bbe\u8ba1\u539f\u5219",id:"325-\u7ec4\u4ef6\u8bbe\u8ba1\u539f\u5219",level:2},{value:"3.2.5.1 \u804c\u8d23\u5355\u4e00\u6027",id:"3251-\u804c\u8d23\u5355\u4e00\u6027",level:3},{value:"3.2.5.2 \u7ea6\u5b9a\u5927\u4e8e\u914d\u7f6e",id:"3252-\u7ea6\u5b9a\u5927\u4e8e\u914d\u7f6e",level:3},{value:"3.2.6 <code>[DependsOn]</code> \u8be6\u89e3",id:"326-dependson-\u8be6\u89e3",level:2},{value:"3.2.6.1 \u914d\u7f6e\u4ecb\u7ecd",id:"3261-\u914d\u7f6e\u4ecb\u7ecd",level:3},{value:"3.2.6.2 \u91cd\u590d\u4f9d\u8d56\u95ee\u9898",id:"3262-\u91cd\u590d\u4f9d\u8d56\u95ee\u9898",level:3},{value:"3.2.6.3 \u5faa\u73af\u4f9d\u8d56\u95ee\u9898",id:"3263-\u5faa\u73af\u4f9d\u8d56\u95ee\u9898",level:3},{value:"3.2.7 <code>ComponentContext</code> \u8be6\u89e3",id:"327-componentcontext-\u8be6\u89e3",level:2},{value:"3.2.7.1 \u5c5e\u6027\u4ecb\u7ecd",id:"3271-\u5c5e\u6027\u4ecb\u7ecd",level:3},{value:"3.2.7.2 \u53c2\u6570\u914d\u7f6e/\u83b7\u53d6",id:"3272-\u53c2\u6570\u914d\u7f6e\u83b7\u53d6",level:3},{value:"\u4f8b\u5b50\u8bf4\u660e",id:"\u4f8b\u5b50\u8bf4\u660e",level:4},{value:"3.2.8 \u5b9e\u73b0 <code>Startup.cs</code> \u6a21\u5f0f",id:"328-\u5b9e\u73b0-startupcs-\u6a21\u5f0f",level:2},{value:"3.2.9 \u6700\u4f73\u5b9e\u8df5\uff1f",id:"329-\u6700\u4f73\u5b9e\u8df5",level:2},{value:"3.2.10 \u53cd\u9988\u4e0e\u5efa\u8bae",id:"3210-\u53cd\u9988\u4e0e\u5efa\u8bae",level:2}];function a(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",mdxAdmonitionTitle:"mdxAdmonitionTitle",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,o.a)(),...e.components},{Details:s}=n;return s||function(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(s,{children:[(0,r.jsx)("summary",{children:"\ud83d\udcdd \u6a21\u5757\u66f4\u65b0\u65e5\u5fd7"}),(0,r.jsx)("div",{children:(0,r.jsx)("div",{children:(0,r.jsxs)(n.ul,{children:["\n"
|