Source/NFX/Instrumentation/Analytics/Dimension.cs
/// <summary>
/// Override to implement a custom mapping logic to return the names of a given
/// partition when its not passed in the .ctor
/// </summary>
Override to implement a custom mapping logic to return the names of a given
partition when its not passed in the .ctor
Override to implement a custom mapping logic to return the names of a given partition when its not passed in the . ctor
protected virtual string DoPartitionName(int idx)
            {
                return DEFAULT_PARTITION_NAMES[
                    (int)(((double)idx / (double)PartitionCount) * (DEFAULT_PARTITION_NAMES.Length-1))];
            }
protected virtual string DoPartitionName ( int idx ) { return DEFAULT_PARTITION_NAMES [ ( int ) ( ( ( double ) idx / ( double ) PartitionCount ) * ( DEFAULT_PARTITION_NAMES . Length - 1 ) ) ] ; }
Override to implement a custom mapping logic to return the names of a given
partition when its not passed in the .ctor
Override to implement a custom mapping logic to return the names of a given partition when its not passed in the . ctor
idx
int