public AudioPlayerAttribute(string name, string supportedFormats) { Name = name; SupportedFormats.AddRange(supportedFormats.Replace(" ", string.Empty).Split(';')); }
public AudioPlayerAttribute(string name, string[] supportedFormats) { Name = name; SupportedFormats.AddRange(supportedFormats); }