人人人人人人人人人人人人

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 35 下一页
摘要: public static void Start() { logger.Debug("Startup WebAPI..."); SwaggerConfig.Register(); GlobalConfiguration.Configure(WebApiConfig.Register); 。。。 pu 阅读全文
posted @ 2020-10-29 14:09 wgscd 阅读(378) 评论(0) 推荐(0) 编辑
摘要: .get cookie with your browser then can do using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Syste 阅读全文
posted @ 2020-10-27 14:12 wgscd 阅读(498) 评论(0) 推荐(0) 编辑
摘要: git撤销远已经push到程服务器上某次提交 问题: 不小心把一次错误的代码push到远程服务器上的分支上,或者没有merge强制将本地的方法push到git服务器上。 解决方法: 输入 git log。 找到错误提交之前的git push的 commit_id (即正确时候的commit_id) 阅读全文
posted @ 2020-10-27 13:40 wgscd 阅读(735) 评论(0) 推荐(0) 编辑
摘要: . using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsA 阅读全文
posted @ 2020-10-10 15:57 wgscd 阅读(726) 评论(0) 推荐(0) 编辑
摘要: 1. 在项目根目录创建Strings文件夹,再Strings文件夹创建需要的语言名子目录,再添加资源文件Resources.resw,目录构如: Strings\en-US\Resources.resw ,Strings\zh-CN\Resources.resw 2. 在各语言的Resources. 阅读全文
posted @ 2020-09-22 14:12 wgscd 阅读(252) 评论(2) 推荐(1) 编辑
摘要: //老版本的方法: // var check= CurrentAppSimulator.LicenseInformation.IsActive && CurrentAppSimulator.LicenseInformation.IsTrial; private StoreContext contex 阅读全文
posted @ 2020-09-17 10:26 wgscd 阅读(220) 评论(0) 推荐(0) 编辑
摘要: List<Pics> pics = new List<Pics>(); for (int i = 0; i < 2000; i++) { pics.Add(new Pics() { cat="滴滴滴", catid="2", cover="333333333333333333333333333333 阅读全文
posted @ 2020-09-17 09:51 wgscd 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 看到一个老代码里的方法,是判断两个string 数组是否存在相同的元素: 快一百行代码了。。。。。 public bool HasRole(string[] roleList) { bool result; string[] roleListStored, roleListInput; string 阅读全文
posted @ 2020-09-16 16:15 wgscd 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 参考文字: https://mtaulty.com/2016/08/10/windows-10-uwp-and-composition-light-and-shade/ <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBr 阅读全文
posted @ 2020-09-15 18:06 wgscd 阅读(343) 评论(0) 推荐(0) 编辑
摘要: c# Progress<T> 用于显示进度。。。。。。。。主要是利用IProgress<T> 的Report(T)方法: private void BtnDownload_Click(object sender, RoutedEventArgs e) { var pp = new Progress< 阅读全文
posted @ 2020-09-08 17:45 wgscd 阅读(1055) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 35 下一页