AFSDKExtension Class
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
Static class provides extension methods for classes within the AF SDK.
Inheritance Hierarchy
SystemObject
OSIsoft.AFAFSDKExtension
OSIsoft.AFAFSDKExtension
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static class AFSDKExtension
<ExtensionAttribute> Public NotInheritable Class AFSDKExtension
[ExtensionAttribute] public ref class AFSDKExtension abstract sealed
[<AbstractClassAttribute>] [<SealedAttribute>] [<ExtensionAttribute>] type AFSDKExtension = class end
The AFSDKExtension type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| ChunkedByT |
This extension method breaks up search results into chunks to make it easier to
page through and process IEnumerableT collections in chunks.
| |
| FilterBy(IEnumerableAFElementTemplate, Type) |
This extension method will filter a collection of AFElementTemplate items
by InstanceType.
| |
| FilterByT(IEnumerableT, AFCategory) |
This extension method will filter a collection by AFCategory.
| |
| IsGoodStatus |
This extension method will indicate if the AFSyncStatus
is considered a good status.
| |
| IsRetryable |
This extension method will indicate if the Exception
is considered retryable.
|
Remarks
The methods in this class provide an implementation of extension methods for classes within
the AF SDK. The majority of the methods in this class are defined as extension methods
that extend an IEnumerableT of type AFObject. This means they can
be called like an instance method on any object that implements IEnumerableT where
T is a type of AFObject. Some methods have further restrictions on the type.