// 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 LeafCellTreeNode( ViewgenContext context, LeftCellWrapper cellWrapper, FragmentQuery rightFragmentQuery) : base(context) { this.m_cellWrapper = cellWrapper; this.m_rightFragmentQuery = rightFragmentQuery; }
internal Record( ViewGenErrorCode errorCode, string message, IEnumerable <LeftCellWrapper> wrappers, string debugMessage) { IEnumerable <Cell> cellsForWrappers = LeftCellWrapper.GetInputCellsForWrappers(wrappers); this.Init(errorCode, message, cellsForWrappers, debugMessage); }
// effects: Encapsulate the cell wrapper in the node internal LeafCellTreeNode(ViewgenContext context, LeftCellWrapper cellWrapper) : base(context) { m_cellWrapper = cellWrapper; cellWrapper.AssertHasUniqueCell(); m_rightFragmentQuery = FragmentQuery.Create( cellWrapper.OriginalCellNumberString, cellWrapper.CreateRoleBoolean(), cellWrapper.RightCellQuery); }