Exemple #1
0
 internal Rename(IEntityResource resource, string keys, out ICollection <string> dynamicDomain)
 {
     keys.Split(',').ForEach(keyString =>
     {
         var(termKey, newName) = keyString.TSplit(keys.Contains("->") ? "->" : "-%3E");
         Add(resource.MakeOutputTerm(termKey.ToLower(), null), newName);
     });
     dynamicDomain = Values;
 }
Exemple #2
0
 internal OrderBy(IEntityResource resource, string key, ICollection <string> dynamicMembers)
 {
     Resource = resource;
     Term     = resource.MakeOutputTerm(key, dynamicMembers);
 }