forked from Pascal-KOTTE/patchtrending
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCounters.cs
More file actions
43 lines (36 loc) · 1.03 KB
/
Counters.cs
File metadata and controls
43 lines (36 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using System.Collections.Generic;
using System.Text;
namespace Symantec.CWoC.PatchTrending {
public static class Counters {
private static int _jspages;
private static int _htmlpages;
private static int _sqlqueries;
private static int _sqlrows;
public static int Pages {
get { return _htmlpages + _jspages; }
}
public static int JsPages {
get { return _jspages; }
set { _jspages = value; }
}
public static int HtmlPages {
get { return _htmlpages; }
set { _htmlpages = value; }
}
public static int SqlQueries {
get { return _sqlqueries; }
set { _sqlqueries = value; }
}
public static int SqlRows {
get { return _sqlrows; }
set { _sqlrows = value; }
}
public static void Init() {
_jspages = 0;
_htmlpages = 0;
_sqlqueries = 0;
_sqlrows = 0;
}
}
}