Click or drag to resize

PFPerformanceCounter Class

Each counter registers the execution of a specific code embedded in a performance area (see PFSite.RunCodeInPerformanceArea) during a performance test.

Inheritance Hierarchy
SystemObject
  Packflow.CorePFPerformanceCounter

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
[SerializableAttribute]
[DataContractAttribute]
public class PFPerformanceCounter : IDisposable

The PFPerformanceCounter type exposes the following members.

Constructors
  NameDescription
Public methodPFPerformanceCounter
Top
Properties
  NameDescription
Public propertyChildren
Gets or sets the children counters.
Public propertyDescription
Gets or sets the description.
Public propertyDuration
Gets the duration, based on the start and end dates.
Public propertyEndDate
Gets or sets the code end date.
Public propertyName
Gets or sets the name of the code area.
Public propertyStartDate
Gets or sets the code start date.
Top
Methods
  NameDescription
Public methodAddChildCounter
Adds a new child counter.
Public methodCloseChildCounter
Closes the specified child counter.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Calls the Disposing event and sets the EndDate.
Public methodEquals
Compares this object to another object.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventDisposing
Occurs when this counter is being disposed, at the end of the code execution.
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also