Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class LastFmAutoComplete
- {
- public string Artist { get; set; }
- public string Album { get; set; }
- public string Track { get; set; }
- public TimeSpan Duration { get; set; }
- public string Id { get; set; }
- public string Image { get; set; }
- public string Reach { get; set; }
- public string Resid { get; set; }
- public AutoCompleteType Restype { get; set; }
- public string Weight { get; set; }
- public static AutoCompleteType ParseAutoCompleteType(string input)
- {
- var inputInt = int.Parse(input);
- return (AutoCompleteType)inputInt;
- }
- public enum AutoCompleteType
- {
- Artist = 6,
- Album = 8,
- Group = 20,
- Tag = 32,
- Track = 9,
- Label = 10,
- Event = 29
- }
- }
Add Comment
Please, Sign In to add comment