diff options
author | Vitaly Takmazov | 2013-02-08 02:03:05 +0400 |
---|---|---|
committer | Vitaly Takmazov | 2013-02-08 02:03:05 +0400 |
commit | 7eb3fc7465c038de80e140f6956999aeb035505a (patch) | |
tree | ba77012549a1277767c62b4418b19864c9a084f2 /JuickApi | |
parent | edef9894af198da690c0381bf43d4dafddf16f0d (diff) |
Move Juick.Api out to Portable Library
Diffstat (limited to 'JuickApi')
-rw-r--r-- | JuickApi/JuickApi.csproj | 52 | ||||
-rw-r--r-- | JuickApi/Message.cs | 16 | ||||
-rw-r--r-- | JuickApi/Photo.cs | 9 | ||||
-rw-r--r-- | JuickApi/Properties/AssemblyInfo.cs | 30 | ||||
-rw-r--r-- | JuickApi/User.cs | 9 |
5 files changed, 116 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{51F516BC-4EF9-4C81-B4A5-3E97809B70CE}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>JuickApi</RootNamespace> + <AssemblyName>JuickApi</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Profile96</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <!-- A reference to the entire .NET Framework is automatically included --> + </ItemGroup> + <ItemGroup> + <Compile Include="Message.cs" /> + <Compile Include="Photo.cs" /> + <Compile Include="User.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ 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<string> 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; } + } +} |