public GenericPropertyCollection Clone() { var properties = new GenericPropertyCollection(); foreach (var item in this) { properties.Add(item.Clone()); } return(properties); }
public GenericPropertyCollection GetPropertiesByScope(string scopeName) { var result = new GenericPropertyCollection(); foreach (var item in this) { if (item.ScopeName == scopeName) { result.Add(item); } } return(result); }