{"id":1497,"date":"2025-03-09T02:38:40","date_gmt":"2025-03-08T18:38:40","guid":{"rendered":"http:\/\/codermr.com\/?p=1497"},"modified":"2025-03-09T02:38:40","modified_gmt":"2025-03-08T18:38:40","slug":"c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be","status":"publish","type":"post","link":"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/","title":{"rendered":"C#\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">C# Enums<\/h2>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">An\u00a0<code>enum<\/code>\u00a0is a special &#8220;class&#8221;<\/mark><\/strong> that <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">represents a group of\u00a0constants\u00a0(unchangeable\/read-only variables)<\/mark><\/strong>.<\/p>\n\n\n\n<p>To create an&nbsp;<code>enum<\/code>, use the&nbsp;<code>enum<\/code>&nbsp;keyword (instead of class or interface), and separate the enum items with a comma:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>enum Level \n{\n  Low,\n  Medium,\n  High\n}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>You can access enum items with the dot syntax:<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Level myVar = Level.Medium;\nConsole.WriteLine(myVar);<\/code><\/pre>\n\n\n\n<p>Enum is short for &#8220;enumerations&#8221;, which means &#8220;specifically listed&#8221;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enum inside a Class<\/h2>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">You can also have an\u00a0<code>enum<\/code>\u00a0inside a class\u3010\u53ef\u4ee5\u5728\u7c7b\u91cc\u9762\u5b9a\u4e49 Enum\u3011:<\/mark><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Program\n{\n  enum Level\n  {\n    Low,\n    Medium,\n    High\n  }\n  static void Main(string&#91;] args)\n  {\n    Level myVar = Level.Medium;\n    Console.WriteLine(myVar);\n  }\n}<\/code><\/pre>\n\n\n\n<p>The output will be:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Medium<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Enum Values<\/h2>\n\n\n\n<p>By default, <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">the first item of an enum has the value 0\uff0c The second has the value 1, and so on<\/mark><\/strong>. <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u3010\u6bcf\u4e2a\u679a\u4e3e\u7684\u503c\u3011<\/mark><\/strong><\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">To get the integer value from an item, you must\u00a0<a href=\"https:\/\/www.w3schools.com\/cs\/cs_type_casting.php\">explicitly convert<\/a>\u00a0the item to an\u00a0<code>int<\/code>:<\/mark><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>enum Months\n{\n  January,    \/\/ 0\n  February,   \/\/ 1\n  March,      \/\/ 2\n  April,      \/\/ 3\n  May,        \/\/ 4\n  June,       \/\/ 5\n  July        \/\/ 6\n}\n\nstatic void Main(string&#91;] args)\n{\n  int myNum = (int) Months.April;\n  Console.WriteLine(myNum);<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\/\/\u2588\u2588\u5c06\u679a\u4e3e\uff0c\u5f3a\u8f6c\u6210 int \u503c<\/mark><\/strong>\n}<\/code><\/pre>\n\n\n\n<p>The output will be:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>3<\/code><\/pre>\n\n\n\n<p><p style=\"box-sizing: inherit; margin-top: 1.2em; margin-bottom: 1.2em; font-size: 15px; color: rgb(0, 0, 0); font-family: Verdana, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">You can also assign your own enum values<\/mark><\/strong>, and the next items will update their numbers accordingly:<\/p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>enum Months\n{\n  January,    \/\/ 0\n  February,   \/\/ 1\n  March=6,    \/\/ 6 <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\/\/\u2588\u2588\u2588 \u53ef\u4ee5\u81ea\u5b9a\u4e49\u679a\u4e3e\u4e2d\u6bcf\u4e2a\u5143\u7d20\u7684\u503c\uff01\uff01\uff01<\/mark><\/strong>\n  April,      \/\/ 7\n  May,        \/\/ 8\n  June,       \/\/ 9\n  July        \/\/ 10\n}\n\nstatic void Main(string&#91;] args)\n{\n  int myNum = (int) Months.April;\n  Console.WriteLine(myNum);\n}<\/code><\/pre>\n\n\n\n<p>The output will be:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>7<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Enum in a Switch Statement<\/h2>\n\n\n\n<p>Enums are often used in\u00a0<code>switch<\/code>\u00a0statements to check for corresponding values:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>enum Level \n{\n  Low,\n  Medium,\n  High\n}\n\nstatic void Main(string&#91;] args) \n{\n  Level myVar = Level.Medium;\n  switch(myVar) \n  {\n    case Level.Low:\n      Console.WriteLine(\"Low level\");\n      break;\n    case Level.Medium:\n       Console.WriteLine(\"Medium level\");\n      break;\n    case Level.High:\n      Console.WriteLine(\"High level\");\n      break;\n  }\n}<\/code><\/pre>\n\n\n\n<p>The output will be:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Medium level<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Why And When To Use Enums?<\/h4>\n\n\n\n<p>Use enums when you have values that you know aren&#8217;t going to change, like month days, days, colors, deck of cards, etc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C# Enums An\u00a0enum\u00a0is a special &#8220;class&#8221; that &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1498,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[60],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>C#\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e - \u7801\u5148\u751f\u7684\u535a\u5ba2<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C#\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e - \u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"C# Enums An\u00a0enum\u00a0is a special &#8220;class&#8221; that ...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-08T18:38:40+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/csharp1-\u526f\u672c-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"489\" \/>\n\t<meta property=\"og:image:height\" content=\"468\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u7801\u5148\u751f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/mrcode2021\" \/>\n<meta name=\"twitter:site\" content=\"@mrcode2021\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7801\u5148\u751f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/\"},\"author\":{\"name\":\"\u7801\u5148\u751f\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"headline\":\"C#\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e\",\"datePublished\":\"2025-03-08T18:38:40+00:00\",\"dateModified\":\"2025-03-08T18:38:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/\"},\"wordCount\":175,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"keywords\":[\"csharp\"],\"articleSection\":[\"C#\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/\",\"url\":\"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/\",\"name\":\"C#\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e - \u7801\u5148\u751f\u7684\u535a\u5ba2\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/#website\"},\"datePublished\":\"2025-03-08T18:38:40+00:00\",\"dateModified\":\"2025-03-08T18:38:40+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/codermr.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C#\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/codermr.com\/#website\",\"url\":\"http:\/\/codermr.com\/\",\"name\":\"\u7801\u5148\u751f\u7684\u535a\u5ba2\",\"description\":\"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP\",\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/codermr.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\",\"name\":\"\u7801\u5148\u751f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"contentUrl\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"width\":400,\"height\":400,\"caption\":\"\u7801\u5148\u751f\"},\"logo\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/codermr.com\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021\"],\"url\":\"http:\/\/codermr.com\/index.php\/author\/coderma\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"C#\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e - \u7801\u5148\u751f\u7684\u535a\u5ba2","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e\/","og_locale":"zh_CN","og_type":"article","og_title":"C#\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e - \u7801\u5148\u751f\u7684\u535a\u5ba2","og_description":"C# Enums An\u00a0enum\u00a0is a special &#8220;class&#8221; that ...","og_url":"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e\/","og_site_name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","article_published_time":"2025-03-08T18:38:40+00:00","og_image":[{"width":489,"height":468,"url":"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/csharp1-\u526f\u672c-2.png","type":"image\/png"}],"author":"\u7801\u5148\u751f","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/mrcode2021","twitter_site":"@mrcode2021","twitter_misc":{"\u4f5c\u8005":"\u7801\u5148\u751f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/#article","isPartOf":{"@id":"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/"},"author":{"name":"\u7801\u5148\u751f","@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"headline":"C#\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e","datePublished":"2025-03-08T18:38:40+00:00","dateModified":"2025-03-08T18:38:40+00:00","mainEntityOfPage":{"@id":"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/"},"wordCount":175,"commentCount":0,"publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"keywords":["csharp"],"articleSection":["C#"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/","url":"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/","name":"C#\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e - \u7801\u5148\u751f\u7684\u535a\u5ba2","isPartOf":{"@id":"http:\/\/codermr.com\/#website"},"datePublished":"2025-03-08T18:38:40+00:00","dateModified":"2025-03-08T18:38:40+00:00","breadcrumb":{"@id":"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/codermr.com\/index.php\/2025\/03\/09\/c%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%e6%b1%87%e6%80%bb%e4%ba%94%ef%bc%9a%e6%9e%9a%e4%b8%be\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/codermr.com\/"},{"@type":"ListItem","position":2,"name":"C#\u57fa\u7840\u77e5\u8bc6\u6c47\u603b\u4e94\uff1a\u679a\u4e3e"}]},{"@type":"WebSite","@id":"http:\/\/codermr.com\/#website","url":"http:\/\/codermr.com\/","name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","description":"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP","publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/codermr.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf","name":"\u7801\u5148\u751f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/","url":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","contentUrl":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","width":400,"height":400,"caption":"\u7801\u5148\u751f"},"logo":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/codermr.com","https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021"],"url":"http:\/\/codermr.com\/index.php\/author\/coderma\/"}]}},"_links":{"self":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1497"}],"collection":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/comments?post=1497"}],"version-history":[{"count":1,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1497\/revisions"}],"predecessor-version":[{"id":1499,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1497\/revisions\/1499"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media\/1498"}],"wp:attachment":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media?parent=1497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/categories?post=1497"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/tags?post=1497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}