DataPlace
Counter Class
CSCS.Core.ThreadingCounter
Implements a threadsafe Begin/End style counter with callback on first begin/last end
Declaration Syntax
C#
public class Counter
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
Counter(Int32, EventHandler, EventHandler)
Constructor

Begin()()()
Begin the process, increments count

BeginCallback
Event when the counter is != 0 for the first time

Count
Returns the count

End()()()
End the process, decrements count

EndCallback
Event when counter is == 0 after having previously not been 0

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
InProcess()()()
If true, the count != 0

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
Counter

Assembly: CS.Core.Standard (Module: CS.Core.Standard) Version: 1.0.3271.19813