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; }
internal OrderBy(IEntityResource resource, string key, ICollection <string> dynamicMembers) { Resource = resource; Term = resource.MakeOutputTerm(key, dynamicMembers); }