Click or drag to resize
ThreadViewCounter Class
Class providing support for thread view counting.
Inheritance Hierarchy
SystemObject
  CMS.ForumsThreadViewCounter

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
Syntax
C#
public static class ThreadViewCounter

The ThreadViewCounter type exposes the following members.

Methods
  NameDescription
Public methodStatic memberLogThreadView
Increments the number of views of specified post.
Public methodStatic memberSaveViewCounts
Saves the content of the hashtable to DB.
Top
Fields
  NameDescription
Public fieldStatic memberMaxRecords
Number of threads in the hashtable which causes automatic update in DB.
Public fieldStatic memberThreadViewCount
Hashtable with ThreadID-ViewNumber values.
Top
See Also