コード例 #1
0
 public static ICypherFluentQuery SetLabels(this ICypherFluentQuery query, string variableName, HashSet <string> labels)
 {
     if (labels != null)
     {
         if (labels.Count > 0)
         {
             string labelsString = " ";
             foreach (string label in labels)
             {
                 labelsString += $":{label}";
             }
             return(query.Set(variableName + labelsString));
         }
     }
     return(query);
 }