| ThreadViewCounter Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CMS.Forums
 Syntax
Syntaxpublic static class ThreadViewCounter
The ThreadViewCounter type exposes the following members.
 Fields
Fields| Name | Description | |
|---|---|---|
|   | MaxRecords | 
            Number of threads in the hashtable which causes automatic update in DB.
             | 
|   | ThreadViewCount | 
            Hashtable with ThreadID-ViewNumber values.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|   | LogThreadView | 
            Increments the number of views of specified post.
             | 
|   | SaveViewCounts | 
            Saves the content of the hashtable to DB.
             | 
 See Also
See Also