// effects: Creates an error record for wrappers, a debug message // and an error message given by "message". Note: wrappers cannot // be null internal Record( ViewGenErrorCode errorCode, string message, IEnumerable <LeftCellWrapper> wrappers, string debugMessage) { DebugCheck.NotNull(wrappers); var cells = LeftCellWrapper.GetInputCellsForWrappers(wrappers); Init(errorCode, message, cells, debugMessage); }
internal Record( ViewGenErrorCode errorCode, string message, IEnumerable <LeftCellWrapper> wrappers, string debugMessage) { IEnumerable <Cell> cellsForWrappers = LeftCellWrapper.GetInputCellsForWrappers(wrappers); this.Init(errorCode, message, cellsForWrappers, debugMessage); }