From 7eb3fc7465c038de80e140f6956999aeb035505a Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 8 Feb 2013 02:03:05 +0400 Subject: Move Juick.Api out to Portable Library --- JuickApi/JuickApi.csproj | 52 +++++++++++++++++++++++++++++++++++++ JuickApi/Message.cs | 16 ++++++++++++ JuickApi/Photo.cs | 9 +++++++ JuickApi/Properties/AssemblyInfo.cs | 30 +++++++++++++++++++++ JuickApi/User.cs | 9 +++++++ 5 files changed, 116 insertions(+) create mode 100644 JuickApi/JuickApi.csproj create mode 100644 JuickApi/Message.cs create mode 100644 JuickApi/Photo.cs create mode 100644 JuickApi/Properties/AssemblyInfo.cs create mode 100644 JuickApi/User.cs (limited to 'JuickApi') diff --git a/JuickApi/JuickApi.csproj b/JuickApi/JuickApi.csproj new file mode 100644 index 0000000..b0eb7b4 --- /dev/null +++ b/JuickApi/JuickApi.csproj @@ -0,0 +1,52 @@ + + + + + 10.0 + Debug + AnyCPU + {51F516BC-4EF9-4C81-B4A5-3E97809B70CE} + Library + Properties + JuickApi + JuickApi + v4.0 + Profile96 + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + \ No newline at end of file diff --git a/JuickApi/Message.cs b/JuickApi/Message.cs new file mode 100644 index 0000000..9bd3230 --- /dev/null +++ b/JuickApi/Message.cs @@ -0,0 +1,16 @@ +using System.Collections.Generic; + +namespace JuickApi +{ + public class Message + { + public int Mid { get; set; } + public int Rid { get; set; } + public string Body { get; set; } + public User User { get; set; } + public string Timestamp { get; set; } + public int Replies { get; set; } + public List Tags { get; set; } + public Photo Photo { get; set; } + } +} diff --git a/JuickApi/Photo.cs b/JuickApi/Photo.cs new file mode 100644 index 0000000..e6cce2b --- /dev/null +++ b/JuickApi/Photo.cs @@ -0,0 +1,9 @@ +namespace JuickApi +{ + public class Photo + { + public string Thumbnail { get; set; } + public string Small { get; set; } + public string Medium { get; set; } + } +} diff --git a/JuickApi/Properties/AssemblyInfo.cs b/JuickApi/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..58faa6d --- /dev/null +++ b/JuickApi/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("JuickApi")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("JuickApi")] +[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/JuickApi/User.cs b/JuickApi/User.cs new file mode 100644 index 0000000..dd8bae2 --- /dev/null +++ b/JuickApi/User.cs @@ -0,0 +1,9 @@ +namespace JuickApi +{ + public class User + { + public int Uid { get; set; } + public string UName { get; set; } + public string Fullname { get; set; } + } +} -- cgit v1.2.3