/// <summary> /// Cube is a IEnumerable-enabled multidimensional array using the Dictionary class as its base. Cube uses generics to create nested Dictionary objects. /// </summary> /// <param name="cubeUnderlyingHashType">cubeUnderlyingHashType is used to set what the underlying object that is used to store and access the data</param> public Cube(CubeUnderlyingHashType cubeUnderlyingHashType) { this.UnderlyingHashType = cubeUnderlyingHashType; this.Values = new Cube <X, Cube <Y, Cube <Z, VALUE> > >(this.UnderlyingHashType); }
/// <summary> /// Cube is a IEnumerable-enabled multidimensional array using the Dictionary class as its base. Cube uses generics to create nested Dictionary objects. /// CubeUnderlyingHashType is defaulted to System.Collections.Generic.Dictionary /// </summary> public Cube() { this.UnderlyingHashType = CubeUnderlyingHashType.Dictionary; this.Values = new Cube <X, Cube <Y, Cube <Z, VALUE> > >(this.UnderlyingHashType); }