/// <summary> /// Initialize SelectKind.SelectRow clause. /// </summary> internal SelectClause(NodeList <AliasedExpr> items, SelectKind selectKind, DistinctKind distinctKind, Node topExpr, uint methodCallCount) { _selectKind = selectKind; _selectClauseItems = items; _distinctKind = distinctKind; _topExpr = topExpr; _methodCallCount = methodCallCount; }
// ======================================== // method // ======================================== public static ICommand RequestSelect(this IEditor editor, SelectKind value, bool deselectOthers) { var req = new SelectRequest(); req.DeselectOthers = deselectOthers; req.Value = value; return(editor.PerformRequest(req)); }
// <summary> // Initialize SelectKind.SelectRow clause. // </summary> internal SelectClause( NodeList<AliasedExpr> items, SelectKind selectKind, DistinctKind distinctKind, Node topExpr, uint methodCallCount) { _selectKind = selectKind; _selectClauseItems = items; _distinctKind = distinctKind; _topExpr = topExpr; _methodCallCount = methodCallCount; }
public SelectMultiCommand(IEnumerable <IEditor> targets, SelectKind value, bool deselectOthers) { _targets = targets; _deselectOthers = deselectOthers; _value = value; }
public SelectCommand(IEditor target, SelectKind value, bool deselectOthers) { _target = target; _deselectOthers = deselectOthers; _value = value; }