Click or drag to resize

ModelingObjectEnsureUniqueEntryTModelingObject Method (ModelingListTModelingObject, TModelingObject)

Ensures that a given list contains one singleton entry, and returns it.

Namespace:  Packflow.Modeling
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
protected static TModelingObject EnsureUniqueEntry<TModelingObject>(
	ModelingList<TModelingObject> list,
	TModelingObject entry
)
where TModelingObject : ModelingObject

Parameters

list
Type: Packflow.ModelingModelingListTModelingObject
entry
Type: TModelingObject

Type Parameters

TModelingObject

Return Value

Type: TModelingObject
See Also