diff --git a/.gitignore b/.gitignore index d1ab63b..d10c4df 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ obj/ packages/ +.vs/ diff --git a/IEnumStringExtensions.cs b/IEnumStringExtensions.cs index 07d0465..3e4f63b 100644 --- a/IEnumStringExtensions.cs +++ b/IEnumStringExtensions.cs @@ -16,7 +16,7 @@ public static class IEnumStringExtensions public static List GetStringList(this IEnumString enumerator) { Validate.Begin() - .IsNotNull(enumerator) + .IsNotNull(enumerator, "enumerator is null") .Check(); var browserNames = new List(); diff --git a/LocalDevice_Monotouch.cs b/LocalDevice_Monotouch.cs index f0a196b..426ac3c 100644 --- a/LocalDevice_Monotouch.cs +++ b/LocalDevice_Monotouch.cs @@ -46,6 +46,26 @@ public bool Is64BitOperatingSystem() { throw new NotImplementedException(); } + + public void Restart() + { + throw new NotImplementedException(); + } + + public ulong GetTotalMemory() + { + throw new NotImplementedException(); + } + + public ulong GetFreeMemory() + { + throw new NotImplementedException(); + } + + public decimal GetCpuLoad() + { + throw new NotImplementedException(); + } } } } diff --git a/OpenNETCF.Extensions.Android.csproj b/OpenNETCF.Extensions.Android.csproj new file mode 100644 index 0000000..4f9ce0e --- /dev/null +++ b/OpenNETCF.Extensions.Android.csproj @@ -0,0 +1,123 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {62219642-F6CF-4F82-9858-1573C5437244} + {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Properties + OpenNETCF.Extensions.Android + OpenNETCF.Extensions.Android + 512 + Resources\Resource.Designer.cs + Off + True + v6.0 + + + true + full + false + bin\Android\Debug\ + TRACE;DEBUG;ANDROID + prompt + 4 + + + pdbonly + true + bin\Android\Release\ + TRACE;ANDROID + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LocalDevice.cs + + + LocalDevice.cs + + + LocalDevice.cs + + + LocalDevice.cs + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OpenNETCF.Extensions.Android.sln b/OpenNETCF.Extensions.Android.sln new file mode 100644 index 0000000..2e9cc0e --- /dev/null +++ b/OpenNETCF.Extensions.Android.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenNETCF.Extensions.Android", "OpenNETCF.Extensions.Android.csproj", "{62219642-F6CF-4F82-9858-1573C5437244}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {62219642-F6CF-4F82-9858-1573C5437244}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {62219642-F6CF-4F82-9858-1573C5437244}.Debug|Any CPU.Build.0 = Debug|Any CPU + {62219642-F6CF-4F82-9858-1573C5437244}.Release|Any CPU.ActiveCfg = Release|Any CPU + {62219642-F6CF-4F82-9858-1573C5437244}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal