Skip to content

DistributionMethod

Generic base class that implements IDistributionMethod by reporting the concrete channel class name.

Compilation status: This type is defined in Business\SAIF.Business.Policy.Audit.ApiCalls\DistributionMethod.cs, which is present in this library's source directory but is not listed in the <Compile> item group of SAIF.BOF.Business.Policy.Audit.ApiCalls.csproj. It is a source-included artifact and is not part of the compiled SAIF.Business.Policy.Audit.ApiCalls assembly's public surface.

Purpose

  • Provide a shared discriminator implementation for all channel option DTOs.
  • Keep channel-class naming and wire discriminator generation in one place.

Context

  • Namespace: SAIF.Business.Policy.Audit.ApiCalls
  • Assembly/package: SAIF.Business.Policy.Audit.ApiCalls

Public members

Member Signature Purpose
DistributionMethodType public string DistributionMethodType => typeof(T).Name; Exposes the channel discriminator used to identify the concrete distribution method.

Behavioral notes

  • Concrete channel types inherit this property instead of implementing the interface themselves.

Constraints and usage notes

  • Renaming a concrete channel type changes the emitted discriminator.

Sources

  • Business\SAIF.Business.Policy.Audit.ApiCalls\DistributionMethod.cs