コード例 #1
0
 public void GetVariables(Dictionary <string, IVariableReference> variables)
 {
     if (_meta != null)
     {
         _meta.GetVariables(variables);
     }
 }
コード例 #2
0
ファイル: Query.cs プロジェクト: sturmrutsturm/GraphQL2Net
 public void GetVariables(Dictionary <string, IVariableReference> variables)
 {
     if (_meta != null)
     {
         _meta.GetVariables(variables);
     }
     if (_first.Key != null)
     {
         variables[_first.Key] = _first;
     }
     if (_after.Key != null)
     {
         variables[_after.Key] = _after;
     }
     if (_last.Key != null)
     {
         variables[_last.Key] = _last;
     }
     if (_before.Key != null)
     {
         variables[_before.Key] = _before;
     }
     foreach (var child in _children)
     {
         child.GetVariables(variables);
     }
 }
コード例 #3
0
 public void GetVariables(Dictionary <string, IVariableReference> variables)
 {
     if (_meta != null)
     {
         _meta.GetVariables(variables);
     }
     foreach (var child in _children)
     {
         child.GetVariables(variables);
     }
 }