﻿---
title: ClassCoverageBaseCollectionExtensions
summary: API reference for ClassCoverageBaseCollectionExtensions.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Premium
reference_type: package
---

# ClassCoverageBaseCollectionExtensions

Extension module adding utility methods to `clsClassCoverageBaseCollection`; provides filtering, aggregation, and lookup helpers over a collection of class coverage base objects.*

## Purpose
- Extends `clsClassCoverageBaseCollection` with utility operations (filtering, aggregation, lookup) not provided by the base collection.*
- Consumed by class coverage rating and reporting workflows that need to query or aggregate class coverage lines polymorphically.*

## Context
- Namespace: `SAIF.Business.Policy.Premium`
- Assembly/package: `SAIF.Business.Policy.Premium`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| TotalPayroll | `Public Function TotalPayroll(ByVal Target As IEnumerable(Of iClassCoverage)) As Decimal` | Executes the total payroll behavior defined by this type. |
| TotalPayrollAmount | `Public Function TotalPayrollAmount(ByVal Target As clsClassCoverageBaseCollection) As Decimal` | Executes the total payroll amount behavior defined by this type. |
## Behavioral notes
- Source file: `Business\SAIF.Business.Policy.Premium\clsClassCoverageBaseCollection.vb`.

## Constraints and usage notes
- Extension methods operate on any concrete subtype of `clsClassCoverageBaseCollection`; callers must ensure the collection is non-null before invoking.*


> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts. Statements
> marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `Business\SAIF.Business.Policy.Premium\clsClassCoverageBaseCollection.vb`