An alternative to UBB.threads
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
FLocal/Core/DB/Diapasone.cs

34 lines
554 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Web.Core.DB {
public class Diapasone {
public readonly long start;
public readonly long count;
public long total {
get;
set;
}
public Diapasone(long start, long count) {
this.start = start;
this.count = count;
}
public static Diapasone unlimited {
get {
return new Diapasone(0, -1);
}
}
public static Diapasone first {
get {
return new Diapasone(0, 1);
}
}
}
}