Table of Contents

GetDepthIndex Method

Definition

GetDepthIndex(IDecorator<IDictionary<int, Dictionary<int, int>>>, int, int, int)

Gets the level of nesting of the enclosed IDictionary<TKey, TValue> of the decorator. This API supports the product infrastructure and is not intended to be used directly from your code.

public static int GetDepthIndex(this IDecorator<IDictionary<int, Dictionary<int, int>>> decorator, int readerDepth, int index, int nesting)

Parameters

decorator IDecorator<IDictionary<int, Dictionary<int, int>>>

The IDecorator<T> to extend.

readerDepth int

The value that provides the depth of the embedded reader.

index int

The index to associate with a nesting.

nesting int

The level of nesting.

Returns

int

The index at the specified nesting.