- 博客(6)
- 收藏
- 关注
原创 泛型方法的泛型约束踩到的坑
最近在实操泛型的时候遇到了一个坑。首先我写了一个泛型接口public interface IShow<T>{ string GetClassType();}接下来我写了一个泛型类B<T>实现了IShow<T>public class B<T> : IShow<T>{ public string GetClassType() { return typeof(T).Name; ...
2021-03-05 17:48:34
140
原创 UOS安装向日葵远程
UOS安装向日葵(截图借用Ubuntu系统)1.下载向日葵Ubuntu/Deepin 安装文件sudo dpkg -i 文件名.deb参考https://service.oray.com/question/11017.html可能出现报错2.执行sudo apt-get update更新软件源,安装依赖包sudo apt-get updatesudo apt-get install -f -y如果出现以下情况,执行第三步3.修改软件源打开终端,输入下.
2021-02-02 17:07:12
3527
原创 IdentityServer4 证书不受信任
在学习IdentityServer4 的时候访问https://localhost:5001/.well-known/openid-configuration出现证书不受信任的情况执行dotnetdev-certshttps--trustTrusting the HTTPS development certificate was requested. A confirmation prompt will be displayed if the certificate was not pre...
2020-11-18 00:54:27
937
原创 vs2017 运行所选代码生成器时出错 程序包还原失败
VS2017在MVC添加控制器时报错:“运行所选代码生成器时出错 程序包还原失败”,没查到相关内容,自己瞎试了一下清除所有NuGet缓存,然后重新添加控制器,VS自动下载需要的NuGet包,问题解决...
2019-12-31 16:02:58
2768
2
原创 Xamarin WebView使用(一)
今天学习了一下使用Xamarin中的webview控件来打开网页首先,先创建了一个layout,在里面放置一个webview控件<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_
2017-11-13 14:24:48
4775
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人