Exemple #1
0
 public CompositeRange(DataSheetElementType type, int row, int column, int rowCount, int columnCount)
 {
     _type        = type;
     _row         = row;
     _rowCount    = rowCount;
     _column      = column;
     _columnCount = columnCount;
 }
Exemple #2
0
 public CompositePosition(DataSheetElementType type, int row, int column)
 {
     _type   = type;
     _row    = row;
     _column = column;
 }
Exemple #3
0
 public static CompositeRange FromStartEnd(DataSheetElementType type, int startRow, int endRow, int startColumn, int endColumn)
 {
     return(new CompositeRange(type, startRow, startColumn, (endRow - startRow) + 1, (endColumn - startColumn) + 1));
 }
Exemple #4
0
 public static int GetHashCode(DataSheetElementType type, int row, int rowCount, int column, int columnCount)
 {
     return((int)(((DataSheetElementType)(((((row << 0x18) | (row >> 8)) ^ ((rowCount << 0x10) | (rowCount >> 0x10))) ^ ((column << 10) | (column >> 0x16))) ^ ((columnCount << 4) | (columnCount >> 0x1c)))) ^ type));
 }
Exemple #5
0
        public static int GetHashCode(DataSheetElementType type, int row, int column)
        {
            int num = (int)type;

            return((((num << 0x1c) | (num >> 4)) ^ ((column << 0x12) | (column >> 14))) ^ row);
        }