1
0

Indetation formatting and unnecessary usings cleanup

This commit is contained in:
Michael Gordeev
2020-05-10 13:47:42 +03:00
parent f968c95ab1
commit 1d636120cc
20 changed files with 684 additions and 702 deletions
+18 -18
View File
@@ -2,22 +2,22 @@
namespace YouTube
{
internal static class Extensions
{
internal static Uri ToUri(this string str)
{
try { return new Uri(str); }
catch { return null; }
}
internal static class Extensions
{
internal static Uri ToUri(this string str)
{
try { return new Uri(str); }
catch { return null; }
}
internal static int RangeOffset(int value, int min, int max)
{
if (value < min)
return -1;
else if (value > max)
return 1;
else
return 0;
}
}
}
internal static int RangeOffset(int value, int min, int max)
{
if (value < min)
return -1;
else if (value > max)
return 1;
else
return 0;
}
}
}