Table of Contents

Method GenerateRequiredCapas

Namespace
Skyline.DataMiner.Net.Profiles
Assembly
SLNetTypes.dll

GenerateRequiredCapas(Func<ProfileParameterEntry, Parameter>)

This variant of the GenerateRequiredCapas method can be used to more efficiently calculate the required usages by providing funcs that should return the objects from an existing cache managed by the calling script.

public Tuple<List<MultiResourceCapacityUsage>, List<ResourceCapabilityUsage>> GenerateRequiredCapas(Func<ProfileParameterEntry, Parameter> parameterResolver)

Parameters

parameterResolver Func<ProfileParameterEntry, Parameter>

Func that returns the linked Parameter for the given ProfileParameterEntry

Returns

Tuple<List<MultiResourceCapacityUsage>, List<ResourceCapabilityUsage>>

GenerateRequiredCapas()

public Tuple<List<MultiResourceCapacityUsage>, List<ResourceCapabilityUsage>> GenerateRequiredCapas()

Returns

Tuple<List<MultiResourceCapacityUsage>, List<ResourceCapabilityUsage>>

Exceptions

DataMinerException

if one of the linked profile parameters could not be resolved