Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
        // ========================================
        // 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));
        }
Exemplo n.º 3
0
 // <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;
 }
Exemplo n.º 4
0
 public SelectMultiCommand(IEnumerable <IEditor> targets, SelectKind value, bool deselectOthers)
 {
     _targets        = targets;
     _deselectOthers = deselectOthers;
     _value          = value;
 }
Exemplo n.º 5
0
 public SelectCommand(IEditor target, SelectKind value, bool deselectOthers)
 {
     _target         = target;
     _deselectOthers = deselectOthers;
     _value          = value;
 }