Sage Modeling and Simulation Library

DistributionCatalog Class

The DistributionCatalog provides a catalog of known distributions, enabling the caller to enumerate all known distributions, or all known distributions that implement a specific interface. It reads from a section in the app config file so that it can import all distributions, or just specific distributions, from any assemblies the user desires to have included in the catalog.

The general config section impact is as follows:

<configSections>

<section name="Distributions" type="Highpoint.Sage.Mathematics.DistributionSectionHandler, VR_Sim" />

</configSections>

<Distributions>

<Library libName="VR_Sim">

<InterfaceType typeName="Highpoint.Sage.Mathematics.IDoubleDistribution" autoImportAllImplementers="true"/>

<InterfaceType typeName="Highpoint.Sage.Mathematics.ITimeSpanDistribution" autoImportAllImplementers="true"/>

</Library>

</Distributions>

If there is no config section in the config file, it initializes with all of the Sage® distributions and interfaces.

Namespace:  Highpoint.Sage.Mathematics
Assembly:  Sage4 (in Sage4.dll)

Syntax


public sealed class DistributionCatalog : IEnumerable

Inheritance Hierarchy


Object
  Highpoint.Sage.Mathematics..::..DistributionCatalog