﻿---
title: RatingPlanFactorExtensions
summary: API reference for RatingPlanFactorExtensions.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Rating
reference_type: package
---
# RatingPlanFactorExtensions
Filters rating-plan factors by date or plan. The module filters already-loaded rating-plan-factor rows by date window or plan.
## Purpose
- Filters rating-plan factors by date or plan.
- The module filters already-loaded rating-plan-factor rows by date window or plan.
## Context
- Namespace: `SAIF.Business.Policy.Rating`
- Assembly/package: `SAIF.Business.Policy.Rating`
## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| AsOfDate | `Public Function AsOfDate(ByVal target As IEnumerable(Of clsRatingPlanFactor), ByVal inAsOfDate As Date) As IEnumerable(Of clsRatingPlanFactor)` | Filters a sequence to factor rows whose effective span covers the supplied as-of date. |
| RatingPlan | `Public Function RatingPlan(ByVal target As IEnumerable(Of clsRatingPlanFactor), ByVal inRatingPlan As Enums.RatingPlans) As IEnumerable(Of clsRatingPlanFactor)` | Filters a sequence to factor rows for the requested rating plan enum. |
## Behavioral notes
- Both extensions are pure sequence filters over already-loaded rows; they do not retrieve additional data.
## Constraints and usage notes
- Callers can chain `AsOfDate(...).RatingPlan(...)` to narrow a previously loaded factor set without re-querying the database.
## Sources
- `Business\SAIF.Business.Policy.Rating\clsRatingPlanFactorCollection.vb`
