The following tables list the members exposed by UsageCounter.
Name | Description | |
---|---|---|
![]() | UsageCounter Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | InstanceCount | Returns the number of times Increment() has been called on this instance |
![]() | Name | Returns the name specified when this instance was created |
Name | Description | |
---|---|---|
![]() | Decrement | Overloaded. Decrements the counter by one |
![]() | Dispose | Releases the resources but does not decrement counts |
![]() | Increment | Overloaded. Increments the counter by one |
![]() | TotalCount | Calls the provided delegate inside lock with the current count value |
Reference
UsageCounter ClassCSharpTest.Net.Threading Namespace