Show / Hide Table of Contents

Interface IHasDecisionModels

All classes that contain or a associated with a collection of DecisionModels

Namespace: Quantellia.WMServer.DecisionModeler.Model
Assembly: WMServer.dll
Syntax
public interface IHasDecisionModels

Methods

AddDecisionModel(DecisionModel)

The collection of DecisionModels contained by or associated with this object.

Declaration
void AddDecisionModel(DecisionModel dm)
Parameters
Type Name Description
DecisionModel dm

The DecisionModel to add.

GetDecisionModels(Func<DecisionModel, bool>)

Get the collection of DecisionModels from the object's collection.

Declaration
IEnumerable<DecisionModel> GetDecisionModels(Func<DecisionModel, bool> selector)
Parameters
Type Name Description
Func<DecisionModel, bool> selector

A lambda expression that selects which DecisionModels are returned. If null is specified, all DecisionModels in the collection will be returned.

Returns
Type Description
IEnumerable<DecisionModel>

RemoveDecisionModel(DecisionModel)

Remove the referenced DecisionModel from the collection

Declaration
void RemoveDecisionModel(DecisionModel dm)
Parameters
Type Name Description
DecisionModel dm

Reference to the DecisionModel to remove

RemoveDecisionModel(string)

Remove the DecisionModel with the specified ID from the collection.

Declaration
void RemoveDecisionModel(string ID)
Parameters
Type Name Description
string ID

The ID of the DecisionModel to remove.

In this article
Back to top Generated by DocFX