---
title: IRctXmlService
summary: API reference for IRctXmlService.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-24
library: SAIF.SAIFCode.Core
reference_type: package
---

# IRctXmlService

`IRctXmlService` declares a service contract in the Rct area, implemented outside this library (most likely in SAIF.Services, per the declare-here, enforce-elsewhere pattern documented for this library)*.

## Purpose
- Declares the operations that a SAIF.Services implementation must provide for the Rct area*.

## Context
- Namespace: `SAIF.Core.Contracts.Rct`
- Kind: Interface
- Assembly/package: `SAIF.Core` (NuGet package `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `GetPolicyStagingData` | `IEnumerable<RctPolicyStagingData> GetPolicyStagingData { get; set; }` | Represents the get policy staging data associated with this IRctXmlService*. |
| `GetCounties` | `IEnumerable<County> GetCounties { get; set; }` | Represents the get counties associated with this IRctXmlService*. |
| `FormatPolicyXml` | `RCTImport FormatPolicyXml(ReadOnlyCollection<RctPolicyStagingData> policyList, ReadOnlyCollection<County> countyList)` | Handles format policy xml, given `policyList`, `countyList`*. |
| `GetXmlAndWriteXmlFilesOut` | `StringDictionary GetXmlAndWriteXmlFilesOut(string path, int outputNumberOfPolicies, out int filesWritten, out int policiesWritten)` | Returns xml and write xml files out, given `path`, `outputNumberOfPolicies`, `filesWritten`, `policiesWritten`*. |

> **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
- Core/SAIF.Core/Contracts/Rct/IRctXmlService.cs
