GetDepthIndex Method
Definition
- Namespace
- Cuemon.Collections.Generic
- Assemblies
- Cuemon.Core.dll
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
decoratorIDecorator<IDictionary<int, Dictionary<int, int>>>The IDecorator<T> to extend.
readerDepthintThe value that provides the depth of the embedded reader.
indexintThe index to associate with a
nesting.nestingintThe level of nesting.
Returns
- int
The index at the specified
nesting.