From bef0461e386993485ad6924076aa86b66ba9b26f Mon Sep 17 00:00:00 2001 From: bicijinlian Date: Tue, 28 May 2019 11:12:38 +0800 Subject: [PATCH] update --- Study.DelegateSeries.Core/Settings.StyleCop | 1 + .../Properties/launchSettings.json | 2 + Study.DelegateSeries.MarkdownDoc/Startup.cs | 4 +- .../wwwroot/Default.html | 53 ++++++++++++----- .../wwwroot/Default.md | 59 ++++++++++++++----- 5 files changed, 90 insertions(+), 29 deletions(-) create mode 100644 Study.DelegateSeries.Core/Settings.StyleCop diff --git a/Study.DelegateSeries.Core/Settings.StyleCop b/Study.DelegateSeries.Core/Settings.StyleCop new file mode 100644 index 0000000..bb05f99 --- /dev/null +++ b/Study.DelegateSeries.Core/Settings.StyleCop @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Study.DelegateSeries.MarkdownDoc/Properties/launchSettings.json b/Study.DelegateSeries.MarkdownDoc/Properties/launchSettings.json index e68a617..0a99f97 100644 --- a/Study.DelegateSeries.MarkdownDoc/Properties/launchSettings.json +++ b/Study.DelegateSeries.MarkdownDoc/Properties/launchSettings.json @@ -11,6 +11,7 @@ "IIS Express": { "commandName": "IISExpress", "launchBrowser": true, + "launchUrl": "Default.html", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } @@ -18,6 +19,7 @@ "Study.DelegateSeries.MarkdownDoc": { "commandName": "Project", "launchBrowser": true, + "launchUrl": "Default.html", "applicationUrl": "http://localhost:5000", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" diff --git a/Study.DelegateSeries.MarkdownDoc/Startup.cs b/Study.DelegateSeries.MarkdownDoc/Startup.cs index 8199894..7286485 100644 --- a/Study.DelegateSeries.MarkdownDoc/Startup.cs +++ b/Study.DelegateSeries.MarkdownDoc/Startup.cs @@ -33,8 +33,10 @@ namespace Study.DelegateSeries.MarkdownDoc //配置:只使用静态文件服务 - app.UseDefaultFiles(); + //默认文档 + app.UseDefaultFiles("/Index.html"); + //静态文件 app.UseStaticFiles(); } } diff --git a/Study.DelegateSeries.MarkdownDoc/wwwroot/Default.html b/Study.DelegateSeries.MarkdownDoc/wwwroot/Default.html index ead6f29..52ef8de 100644 --- a/Study.DelegateSeries.MarkdownDoc/wwwroot/Default.html +++ b/Study.DelegateSeries.MarkdownDoc/wwwroot/Default.html @@ -1,21 +1,46 @@  - - 委托学习 - - - - + 委托系列学习 -
- 内容加载中....... -
+ +

委托系列学习

+

委托基础

+
+

学习委托的概念,学习委托的基本语法基本使用方法, +主要从概念上弄透委托。其它相关概念与高级用法专门学习。 +详细教程

+
+

匿名方法

+
+

学习匿名方法,并应用到委托上

+
+

泛型委托

+
+

学习泛型委托的知识。

+
+

内置委托:Fun、Action、Private

+
+

学习Dotnet提供的内置委托,内置委托应用很广泛。

+
+

Lambda 表达式

+
+

系统学习lambda表达式知识,并应用在委托上

+
+

事件与委托

+
+

学习委托与事件的关系、区别与联系、应用条件与场景的区别。

+
+

接口与委托

+
+

学习委托与接口的区别与联系、应用条件与场景的区别。

+
+

委托总结

+
+

对委托进行总结

+
+ + \ No newline at end of file diff --git a/Study.DelegateSeries.MarkdownDoc/wwwroot/Default.md b/Study.DelegateSeries.MarkdownDoc/wwwroot/Default.md index 39788ec..5b3b21c 100644 --- a/Study.DelegateSeries.MarkdownDoc/wwwroot/Default.md +++ b/Study.DelegateSeries.MarkdownDoc/wwwroot/Default.md @@ -1,15 +1,46 @@ -# 委托系列学习 ------- -## 委托基础 -> 学习委托的概念,学习委托的基本语法和基本使用方法, -> 主要从概念上弄透委托。其它相关概念与高级用法专门学习。 -> [详细教程](/DelegateStudy.html) - -## 匿名方法 -## 泛型委托 -## Fun、Action、Private -## Lambda 表达式 -## 事件与委托 -## 接口与委托 -## 委托总结 + + +委托系列学习 +============ + +委托基础 +------------- + +> 学习**委托的概念**,学习委托的**基本语法**和**基本使用方法**, +主要从概念上弄透委托。其它相关概念与高级用法专门学习。 +[详细教程](/DelegateStudy.html) + +匿名方法 +------------ +> 学习**匿名**方法,并**应用到委托上**。 + +泛型委托 +------------- + +> 学习**泛型委托**的知识。 + +内置委托:Fun、Action、Private +-------------------------------------- + +> 学习Dotnet提供的**内置委托**,内置委托应用很广泛。 + +Lambda 表达式 +--------------- + +> 系统学习*lambda表达式*知识,并**应用在委托上**。 + +事件与委托 +--------- + +> 学习委托与**事件**的关系、区别与联系、应用条件与场景的区别。 + + +接口与委托 +--------- + +> 学习委托与**接口**的区别与联系、应用条件与场景的区别。 + +委托总结 +-------- +> 对委托进行**总结**