Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFAggregate Class

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFAggregate Class
A utility class for performing client-side aggregates

Inheritance Hierarchy

SystemObject
  OSIsoft.AF.Data.AggregateAFAggregate

Namespace:  OSIsoft.AF.Data.Aggregate
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public static class AFAggregate
<ExtensionAttribute>
Public NotInheritable Class AFAggregate

You do not need to declare an instance of a static class in order to access its members.
[ExtensionAttribute]
public ref class AFAggregate abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type AFAggregate =  class end

The AFAggregate type exposes the following members.

Methods

  NameDescription
Public methodStatic member
AggregateT
Performs all requested aggregates on the specified items.
Public methodStatic member
AggregateAsyncT
Performs all requested aggregates on the specified items asynchronously.
Public methodStatic member
BinnedSummaryT, TBin
Generates a summary broken down by the specified bins for items matching the search criteria.
Public methodStatic member
BinnedSummaryAsyncT, TBin
Generates a summary broken down by the specified bins for items matching the search criteria asynchronously.
Public methodStatic member
FrequencyDistributionT
Generates a frequency distribution for the specified items.
Public methodStatic member
FrequencyDistributionAsyncT
Generates a frequency distribution for the specified items asynchronously.
Public methodStatic member
GroupedSummaryT
Generates a summary broken down by group for the specified items.
Public methodStatic member
GroupedSummaryAsyncT
Generates a histogram for the specified items asynchronously.
Public methodStatic member
HistogramT, TBin
Generates a histogram for the specified items with the specified weighting.
Public methodStatic member
HistogramAsyncT, TBin
Generates a histogram for the specified items with the specified weighting asynchronously.
Public methodStatic member
SummaryT(IEnumerableT, String, AFSummaryTypes)
Summarizes the specified items.
Public methodStatic member
SummaryT(IEnumerableT, String, AFSummaryTypes, String)
Summarizes the specified items with the specified weighting.
Public methodStatic member
SummaryAsyncT(IEnumerableT, String, AFSummaryTypes, CancellationToken)
Summarizes the specified items asynchronously.
Public methodStatic member
SummaryAsyncT(IEnumerableT, String, AFSummaryTypes, String, CancellationToken)
Summarizes the specified items with the specified weighting asynchronously.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9

See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in