码迷,mamicode.com
首页 >  
搜索关键字:generic    ( 7184个结果
.netcore学习之startup的IServiceCollection的理解
一,根据我们学习过core,都知道我们是在ConfigureServices中注册服务的,也是将我们实现注入,如下startup的简单的ConfigureServices方法, public void ConfigureServices(IServiceCollection services) { ...
分类:Web程序   时间:2020-07-24 19:02:46    阅读次数:129
List<>泛类型基础参数类属性反射
// Object拆箱,取List类型 Type tp = DataSource.GetType(); // 判断类型是否是List<>泛类型 if (tp.IsGenericType && typeof(System.Collections.Generic.List<>).IsAssignable ...
分类:其他好文   时间:2020-07-21 13:58:00    阅读次数:71
网络通讯C#(TCP)简单实现通讯
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; using System.Net;using System.Net.Sock ...
分类:Windows程序   时间:2020-07-20 15:30:04    阅读次数:84
C#| 创建数据库连接 | SQL server
使用SqlConnection连接到SQL Server2019 且返回表的行数。 1、界面设计 2、代码设计 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using Sys ...
分类:数据库   时间:2020-07-20 15:20:43    阅读次数:122
django 类视图
类视图 在写视图的时候,Django除了使用函数作为视图,也可以使用类作为视图。使用类视图可以使用类的一些特性,比如继承等。 View: django.views.generic.base.View是主要的类视图,所有的类视图都是继承自他。如果我们写自己的类视图,也可以继承自他。然后再根据当前请求的 ...
分类:其他好文   时间:2020-07-20 13:18:19    阅读次数:62
ASP.Net 过滤器
授权过滤器 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Http.Controllers; u ...
分类:Web程序   时间:2020-07-20 10:40:40    阅读次数:85
ASP.Net 登录控制器
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using WebApplicatio ...
分类:Web程序   时间:2020-07-20 10:40:20    阅读次数:85
C# Socket服务端和客户端通话
服务端 using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Thr ...
分类:Windows程序   时间:2020-07-19 16:18:59    阅读次数:84
linq延迟状态的执行
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace linq延迟状态终止 ...
分类:其他好文   时间:2020-07-19 11:32:54    阅读次数:69
使用EFCore执行上下文不存在的SQL语句
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Data.SqlClient; using System.Reflection; usi ...
分类:数据库   时间:2020-07-18 16:11:44    阅读次数:118
7184条   上一页 1 ... 10 11 12 13 14 ... 719 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!