private void ReadConfiguration(string StartWithText, ReadConfigurationHandler readConfigHandler, int firstRow, int firstCol) { FindFirstRowStartWithText(StartWithText, ref firstRow, ref firstCol); firstRow++; //read the title line while (firstRow < RowCount) { readConfigHandler(ref firstRow, ref firstCol); firstRow++; // read an empty line } }
ReadConfiguration Register.Delegate <ReadConfiguration, ReadConfigurationHandler> .Create(ReadConfigurationHandler handler) => handler.Handle;