Simplify song-image detection

Store comment as 1 string
This commit is contained in:
Flamefire committed 2013-10-11 14:50:31 +02:00
1 parent 2ec094e734
commit a9b3e1d3f8
3 files changed
+18 -12

No files matched your search

+6 -1
View File
@@ -54,7 +54,7 @@ namespace VocaluxeLib
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
public static List<int> GetSetBits(this int value)
public static IEnumerable<int> GetSetBits(this int value)
{
var result = new List<int>();
int curBit = 0;
@@ -68,5 +68,10 @@ namespace VocaluxeLib
}
return result;
}
public static bool ContainsIgnoreCase(this string value, string other)
{
return value.IndexOf(other, StringComparison.CurrentCultureIgnoreCase) >= 0;
}
}
}