From: gu.martinm@gmail.com Date: Fri, 25 Apr 2014 06:43:10 +0000 (+0200) Subject: Remove wrong directory X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=d6b098469fc2c1b1549565200e2c32e9a66b3aa0;p=CSharpForFun%2F.git Remove wrong directory --- diff --git a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser.sln b/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser.sln deleted file mode 100644 index 1d2e79e..0000000 --- a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "jsonparser", "jsonparser\jsonparser.csproj", "{D2D89F92-D070-4D60-A728-1BDF897438DD}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D2D89F92-D070-4D60-A728-1BDF897438DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D2D89F92-D070-4D60-A728-1BDF897438DD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D2D89F92-D070-4D60-A728-1BDF897438DD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D2D89F92-D070-4D60-A728-1BDF897438DD}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(MonoDevelopProperties) = preSolution - StartupItem = jsonparser\jsonparser.csproj - EndGlobalSection -EndGlobal diff --git a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/Program.cs b/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/Program.cs deleted file mode 100644 index da1ed58..0000000 --- a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/Program.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.Collections.Generic; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using jsonparser.currentweather; - -namespace jsonparser -{ - class MainClass - { - /// - /// The _json settings. - /// - private static readonly JsonSerializerSettings _jsonSettings = - new JsonSerializerSettings - { - Error = delegate(object sender, Newtonsoft.Json.Serialization.ErrorEventArgs args) - { - Console.WriteLine(args.ErrorContext.Error.Message); - args.ErrorContext.Handled = true; - } - }; - - public static void Main(string[] args) - { - Console.WriteLine("LOL"); - string jsonCurrentWeatherData = @"{""coord"":{""lon"":-2.15,""lat"":57},""sys"":{""message"":0.0076,""country"":""GB"",""sunrise"":1398227897,""sunset"":1398281723},""weather"":[{""id"":741,""main"":""Fog"",""description"":""fog"",""icon"":""50n""}],""base"":""cmc stations"",""main"":{""temp"":281.15,""pressure"":1013,""humidity"":100,""temp_min"":281.15,""temp_max"":281.15},""wind"":{""speed"":3.6,""deg"":130},""rain"":{""3h"":0.5},""clouds"":{""all"":90},""dt"":1398223200,""id"":2636814,""name"":""Stonehaven"",""cod"":200}"; - - - CurrentWeather currentWeather = ReadResponse(jsonCurrentWeatherData); - - } - - - private static CurrentWeather ReadResponse(string json) - { - return JsonConvert.DeserializeObject(json, _jsonSettings); - } - - } -} diff --git a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/Properties/AssemblyInfo.cs b/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/Properties/AssemblyInfo.cs deleted file mode 100644 index 1eaca17..0000000 --- a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// Information about this assembly is defined by the following attributes. -// Change them to the values specific to your project. -[assembly: AssemblyTitle("jsonparser")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("gumartinm.name")] -[assembly: AssemblyProduct("")] -[assembly: AssemblyCopyright("gumartinm.name")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. -[assembly: AssemblyVersion("1.0.*")] -// The following attributes are used to specify the signing key for the assembly, -// if desired. See the Mono documentation for more information about signing. -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("")] - diff --git a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Clouds.cs b/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Clouds.cs deleted file mode 100644 index e24f278..0000000 --- a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Clouds.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace jsonparser.currentweather -{ - public class Clouds - { - public int all { get; set; } - } -} - diff --git a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Coord.cs b/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Coord.cs deleted file mode 100644 index c053510..0000000 --- a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Coord.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace jsonparser.currentweather -{ - public class Coord - { - public double lon { get; set; } - public int lat { get; set; } - } -} - diff --git a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/CurrentWeather.cs b/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/CurrentWeather.cs deleted file mode 100644 index 4fec718..0000000 --- a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/CurrentWeather.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace jsonparser.currentweather -{ - public class CurrentWeather - { - public Coord coord { get; set; } - public Sys sys { get; set; } - public List weather { get; set; } - public string @base { get; set; } - public Main main { get; set; } - public Wind wind { get; set; } - public Rain rain { get; set; } - public Clouds clouds { get; set; } - public int dt { get; set; } - public int id { get; set; } - public string name { get; set; } - public int cod { get; set; } - } -} - diff --git a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Main.cs b/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Main.cs deleted file mode 100644 index 39a7dd9..0000000 --- a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Main.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; - -namespace jsonparser.currentweather -{ - public class Main - { - public double temp { get; set; } - public int pressure { get; set; } - public int humidity { get; set; } - public double temp_min { get; set; } - public double temp_max { get; set; } - } -} - diff --git a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Rain.cs b/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Rain.cs deleted file mode 100644 index edff969..0000000 --- a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Rain.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; - -namespace jsonparser.currentweather -{ - public class Rain - { - private double threeHours; - - public void set3h(double three) - { - this.threeHours = three; - } - - public double get3h() - { - return this.threeHours; - } - } -} - diff --git a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Sys.cs b/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Sys.cs deleted file mode 100644 index 06cff86..0000000 --- a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Sys.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; - -namespace jsonparser.currentweather -{ - public class Sys - { - public double message { get; set; } - public string country { get; set; } - public int sunrise { get; set; } - public int sunset { get; set; } - } -} - diff --git a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Weather.cs b/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Weather.cs deleted file mode 100644 index 77bfffd..0000000 --- a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Weather.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; - -namespace jsonparser.currentweather -{ - public class Weather - { - public int id { get; set; } - public string main { get; set; } - public string description { get; set; } - public string icon { get; set; } - } -} - diff --git a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Wind.cs b/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Wind.cs deleted file mode 100644 index e4f1087..0000000 --- a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/currentweather/Wind.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace jsonparser.currentweather -{ - public class Wind - { - public double speed { get; set; } - public int deg { get; set; } - } -} - diff --git a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/jsonparser.csproj b/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/jsonparser.csproj deleted file mode 100644 index 4ccc0e5..0000000 --- a/Allgemeines/openweathermap/jsonparsernofunciona/jsonparser/jsonparser.csproj +++ /dev/null @@ -1,49 +0,0 @@ - - - - Debug - AnyCPU - 12.0.0 - 2.0 - {D2D89F92-D070-4D60-A728-1BDF897438DD} - Exe - jsonparser - jsonparser - 65001 - v4.5 - - - false - bin\Debug - 4 - true - - - false - bin\Release - 4 - - - - - monodevelop - False - - - - - - - - - - - - - - - - - - - \ No newline at end of file