/// <summary> /// 引数なしのタイマー関数を登録する /// </summary> /// <param name="delayTime">起動時間</param> /// <param name="function">起動する関数</param> public Handle AddTrigger(uTime delayTime, Proc0 function) { return(AddTrigger(delayTime.TotalSeconds * 1000, function)); }
/// <summary> /// 引数付きのタイマー関数を登録する /// </summary> /// <param name="id">受信時の引数</param> /// <param name="delayTime">起動時間</param> /// <param name="function">起動する関数</param> public Handle AddTrigger(object[] args, uTime delayTime, ProcN function) { return(AddTrigger(args, delayTime.TotalSeconds * 1000, function)); }
public TimeValue(string description, uTime unit, Multiplier multiplier) : base(typeof(int), description, TypeMeasurement.Time, (int)unit, multiplier) { }