01 2016 档案
摘要:下载地址: https://github.com/jquery/jquery-mousewheel
阅读全文
摘要:使用jQuery Raty,可以很方便的在页面上嵌入一个评分组件,如下所示: 使用方法很简单,首先从https://github.com/wbotelhos/raty下载raty的源代码(依赖于jquery) 然后在页面中引入相应的js文件、css文件、图片资源,在需要添加评分组件的元素上(比如sp
阅读全文
摘要:查看Demo:http://code.ciaoca.com/jquery/wookmark/demo/example.html 中文文档:http://code.ciaoca.com/jquery/wookmark/ 官方网址:http://www.wookmark.com/jquery-plugi
阅读全文
摘要:var q = from u in dt_data.AsEnumerable()group u by u.Field("Code");//分组信息foreach (var gp in q){ sb.AppendLine(gp.Key); //每个分组内的信息 foreach (var item...
阅读全文
摘要:1 /// 2 /// DataTable与实体类互相转换 3 /// 4 /// 实体类 5 public class ModelHandler where T : new() 6 { 7 #region Data...
阅读全文
摘要:有两种格式的时间戳10位的,后面加7个013位的,后面加4个01 DateTime dtStart = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970, 1, 1));2 //long lTime = long.Parse("14...
阅读全文
摘要:Plug-InsQuartz provides an interface (ISchedulerPlugin) for plugging-in additional functionality.Plugins that ship with Quartz to provide various util...
阅读全文
摘要:ClusteringClustering currently only works with the AdoJobstore (JobStoreTX). Features include load-balancing and job fail-over (if the JobDetail's "re...
阅读全文
摘要:Quartz is architected in modular way, and therefore to get it running, several components need to be "snapped" together. Fortunately, some helpers exi...
阅读全文
摘要:JobStore's are responsible for keeping track of all the "work data" that you give to the scheduler: jobs, triggers, calendars, etc. Selecting the appr...
阅读全文
摘要:SchedulerListeners are much like ITriggerListeners and IJobListeners, except they receive notification of events within the scheduler itself - not nec...
阅读全文
摘要:Listeners are objects that you create to perform actions based on events occuring within the scheduler. As you can probably guess, TriggerListeners re...
阅读全文
摘要:CronTriggers are often more useful than SimpleTrigger, if you need a job-firing schedule that recurs based on calendar-like notions, rather than on th...
阅读全文
摘要:SimpleTrigger should meet your scheduling needs if you need to have a job execute exactly once at a specific moment in time, or at a specific moment i...
阅读全文
摘要:Like jobs, triggers are relatively easy to work with, but do contain a variety of customizable options that you need to be aware of and understand bef...
阅读全文
摘要:如你所见,Job相当容易实现。这里只是介绍有关Jobs本质,IJob接口的Execute(..)方法以及JobDetails中需要理解的内容。在所实现的类成为真正的“Job”时,期望任务所具有的各种属性需要通知给Quartz。通过JobDetail类可以完成这个工作,这个类在前面的章节中曾简短提及过...
阅读全文
摘要:The Quartz APIQuartz API 中主要的接口与类:IScheduler - the main API for interacting with the scheduler.IJob - an interface to be implemented by components tha...
阅读全文
摘要:配置有三种配置方式:1.编码方式:scheduler factory提供的NameValueCollection参数2.使用标准的youapp.exe.config配置文件中的quartz-element3.应用程序根目录中的quartz.config配置文件注意:VS中要将配置文件设置为“Copy...
阅读全文
摘要:1 public static void SaveExceptionLog(Exception ex, string methodName) 2 { 3 using (TextWriter tw = new StreamWriter(new System.Web.UI.Page().Serve...
阅读全文
摘要:SYN(synchronous)是TCP/IP建立连接时使用的握手信号。在客户机和服务器之间建立正常的TCP网络连接时,客户机首先发出一个SYN消息,服务器使用SYN+ACK应答表示接收到了这个消息,最后客户机再以ACK消息响应。这样在客户机和服务器之间才能建立起可靠的TCP连接,数据才可以在客户机...
阅读全文
摘要:Service Name指定服务的基名称,因为它在服务控制管理器注册。此设置是可选的且默认情况下使用Program.cs文件的命名空间(好吧,基本上,调用程序集类型命名空间)。1 HostFactory.New(x =>2 {3 x.SetServiceName("MyService");4...
阅读全文
摘要:概述 Quartz.NET是一个开源的作业调度框架,非常适合在平时的工作中,定时轮询数据库同步,定时邮件通知,定时处理数据等。 Quartz.NET允许开发人员根据时间间隔(或天)来调度作业。它实现了作业和触发器的多对多关系,还能把多个作业与不同的触发器关联。整合了 Quartz.NET的应用程序可
阅读全文
摘要:http://doc.redisfans.com/ windows版本下载地址: https://github.com/MicrosoftArchive/redis
阅读全文
摘要:一、Deck类.h文件 1 #import 2 #import "Card.h" 3 4 @interface Deck : NSObject 5 6 //atTop是方法名的一部分 7 //addCard有两个参数,参数穿插在方法名间 8 -(void)addCard:(Card *)car...
阅读全文
摘要:一、属性1、.h文件:@property (strong,nonatomic) NSString *contents;2、.m文件:接口中定义一个属性后,会在.m文件中隐式的实现如下代码,这个是一个属性访问器, 1 @synthesize contents = _contents; 2 3 -(N...
阅读全文

浙公网安备 33010602011771号