The AverageQueue type exposes the following members.


Public methodAverageQueue
Creates an instance of the AverageQueue class.


Public methodAddValue
Adds an item to the average queue.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Resets the queue, clearing the list of values from which the average is calculated.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)


Public propertyAverage
The average of the last n items passed into the AddValue(Double) method.
Public propertyFull
Indicates whether the queue is full or not.
Public propertyPeriods
The number of periods used to calculate the moving average.
Public propertySum
The sum of the last n items passed into the AddValue(Double) method.

See Also