예제 #1
0
 public AudioPlayerAttribute(string name, string supportedFormats)
 {
     Name = name;
     SupportedFormats.AddRange(supportedFormats.Replace(" ", string.Empty).Split(';'));
 }
예제 #2
0
 public AudioPlayerAttribute(string name, string[] supportedFormats)
 {
     Name = name;
     SupportedFormats.AddRange(supportedFormats);
 }