public Append ( |
||
parameter | ||
Résultat |
private void addItem(DefinitionCacheItem parent, JToken json) { var item = parent .Append( getType(json["type"].ToString()), json["location"].ToString(), getTime(json["updated"].ToString()), json["cmd"].ToString().StartsWith("[["), !json["cmd"].ToString().StartsWith("["), json["cmd"].ToString().Replace("[", "").Replace("]", ""), json["description"].ToString()); foreach (var child in json["arguments"].Children()) addItem(item, child); }
private void add(DefinitionCache cache, DefinitionCacheItem item, BaseCommandHandlerParameter parameter) { var name = parameter.Name; var child = item.Append( item.Type, item.Location, item.Updated, parameter.Override, parameter.Required, name, parameter.Description); foreach (var cmd in parameter.Parameters) { add(cache, child, cmd); } }
private void addItem(DefinitionCacheItem parent, JToken json) { var item = parent .Append( getType(json["type"].ToString()), json["location"].ToString(), getTime(json["updated"].ToString()), json["cmd"].ToString().StartsWith("[["), !json["cmd"].ToString().StartsWith("["), json["cmd"].ToString().Replace("[", "").Replace("]", ""), json["description"].ToString()); foreach (var child in json["arguments"].Children()) { addItem(item, child); } }
private void add(DefinitionCache cache, DefinitionCacheItem item, BaseCommandHandlerParameter parameter) { var name = parameter.Name; var child = item.Append( item.Type, item.Location, item.Updated, parameter.Override, parameter.Required, name, parameter.Description); foreach (var cmd in parameter.Parameters) add(cache, child, cmd); }