During tea-drinking, princess, amongst other things, asked why has such a good-natured and cute Dragon imprisoned Lpl in the Castle? Dragon smiled eni ...
分类:
其他好文 时间:
2018-09-04 23:32:05
阅读次数:
212
During tea-drinking, princess, amongst other things, asked why has such a good-natured and cute Dragon imprisoned Lpl in the Castle? Dragon smiled eni ...
分类:
其他好文 时间:
2018-09-04 19:09:58
阅读次数:
406
嘟嘟嘟 太水了,大佬们就绕道吧…… 就是m, b数组分别排个序,然后更改对应位置的m[i]和b[i],就行了。 因为如果m[i]不改为b[i]而是b[i + 1]的话,那么必定要将m[j] (j > i)改为b[i],而这一定比m[i]改为b[i]更劣。 1 #include<cstdio> 2 # ...
分类:
其他好文 时间:
2018-09-01 12:14:48
阅读次数:
191
ABP的依赖注入基于 Castle Windsor框架 只要类名以AppService后缀的 都会自动注册到DI(依赖注入)框架 ...
分类:
其他好文 时间:
2018-07-14 10:20:21
阅读次数:
226
JDK 6只支持MD2withRSA, MD5withRSA, SHA1withRSA 其他的如SHA512withRSA需要第三方包支持,如BC(bouncy castle) --20151126 更正:JDK 7已经可以支持SHA256withRSA和SHA512withRSA了 JDK的密钥长 ...
分类:
其他好文 时间:
2018-06-04 16:36:15
阅读次数:
154
第二章 倒装 全部倒装/部分倒装 1. 全部倒装: In the mountain lies a castle. Here comes the bus. 全部倒装:There be 句型 1. There be + n. “有”(客观存在) There is a girl. 2. There be ...
分类:
其他好文 时间:
2018-05-22 23:47:41
阅读次数:
229
Windsor是Castle的IOC框架。需要用到两个dll(Castle.Core.dll和Castle.Windsor.dll)。 1、接口以及接口实现类: 2、创建自定义类WindsorInstaller,继承IWindsorInstaller,实现IWindsorInstaller的Inst ...
前面已经对Castle Windsor的基本使用进行了学习,有了这个基础,接下来我们将把我们的事件总线再次向ABP中定义的事件总线靠近。从源码中可以知道在ABP中定义了Dictionary,存放三种类型的Factory,然后通过容器的方式实例化相应的handlerfactory。承接前面的随笔,我们 ...
分类:
其他好文 时间:
2018-05-09 10:47:34
阅读次数:
233
框架采用了以下技术: 服务器端: Asp.Net Mvc Core 通过层级架结构 (Entities、Repositories、Application Services、DTOs等) Castle windsor (依赖注入容器) Entity Framework Core、Dapper 自定义用 ...
分类:
Web程序 时间:
2018-05-02 11:16:57
阅读次数:
1247
Description "题目链接" Solution 二分答案,套一个差分标记即可 每次放弓箭手显然越右边越优 Code ...
分类:
其他好文 时间:
2018-03-23 15:19:02
阅读次数:
161