public FormatCollection GetFormats() { var formats = new FormatCollection(); foreach (var info in this.Values) { formats.AddRange(info.Formats.Values); } return(formats); }