refabrique
This commit is contained in:
parent
33dbed8b90
commit
817c1c151f
34 changed files with 3476 additions and 35 deletions
10
Yavsc.Client/IAccountBalance.cs
Normal file
10
Yavsc.Client/IAccountBalance.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
namespace Yavsc.Models
|
||||
{
|
||||
public interface IAccountBalance
|
||||
{
|
||||
long ContactCredits { get; set; }
|
||||
decimal Credits { get; set; }
|
||||
IApplicationUser Owner { get; set; }
|
||||
string UserId { get; set; }
|
||||
}
|
||||
}
|
||||
16
Yavsc.Client/IApplicationUser.cs
Normal file
16
Yavsc.Client/IApplicationUser.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System.Collections.Generic;
|
||||
using Yavsc.Models.Identity;
|
||||
|
||||
namespace Yavsc.Models
|
||||
{
|
||||
public interface IApplicationUser
|
||||
{
|
||||
IAccountBalance AccountBalance { get; set; }
|
||||
IList<IContact> Book { get; set; }
|
||||
IList<ICircle> Circles { get; set; }
|
||||
string DedicatedGoogleCalendar { get; set; }
|
||||
IList<IGoogleCloudMobileDeclaration> Devices { get; set; }
|
||||
ILocation PostalAddress { get; set; }
|
||||
IList<IBlog> Posts { get; set; }
|
||||
}
|
||||
}
|
||||
18
Yavsc.Client/IBlog.cs
Normal file
18
Yavsc.Client/IBlog.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
|
||||
namespace Yavsc.Models
|
||||
{
|
||||
public interface IBlog
|
||||
{
|
||||
IApplicationUser Author { get; set; }
|
||||
string AuthorId { get; set; }
|
||||
string bcontent { get; set; }
|
||||
long Id { get; set; }
|
||||
DateTime modified { get; set; }
|
||||
string photo { get; set; }
|
||||
DateTime posted { get; set; }
|
||||
int rate { get; set; }
|
||||
string title { get; set; }
|
||||
bool visible { get; set; }
|
||||
}
|
||||
}
|
||||
13
Yavsc.Client/ICircle.cs
Normal file
13
Yavsc.Client/ICircle.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Yavsc.Models
|
||||
{
|
||||
public interface ICircle
|
||||
{
|
||||
long Id { get; set; }
|
||||
IList<ICircleMember> Members { get; set; }
|
||||
string Name { get; set; }
|
||||
IApplicationUser Owner { get; set; }
|
||||
string OwnerId { get; set; }
|
||||
}
|
||||
}
|
||||
9
Yavsc.Client/ICircleMember.cs
Normal file
9
Yavsc.Client/ICircleMember.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace Yavsc.Models
|
||||
{
|
||||
public interface ICircleMember
|
||||
{
|
||||
ICircle Circle { get; set; }
|
||||
long Id { get; set; }
|
||||
IApplicationUser Member { get; set; }
|
||||
}
|
||||
}
|
||||
9
Yavsc.Client/IContact.cs
Normal file
9
Yavsc.Client/IContact.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace Yavsc.Models
|
||||
{
|
||||
public interface IContact
|
||||
{
|
||||
IApplicationUser Owner { get; set; }
|
||||
string OwnerId { get; set; }
|
||||
string UserId { get; set; }
|
||||
}
|
||||
}
|
||||
13
Yavsc.Client/IGoogleCloudMobileDeclaration.cs
Normal file
13
Yavsc.Client/IGoogleCloudMobileDeclaration.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
namespace Yavsc.Models.Identity
|
||||
{
|
||||
public interface IGoogleCloudMobileDeclaration
|
||||
{
|
||||
string DeviceId { get; set; }
|
||||
IApplicationUser DeviceOwner { get; set; }
|
||||
string DeviceOwnerId { get; set; }
|
||||
string GCMRegistrationId { get; set; }
|
||||
string Model { get; set; }
|
||||
string Platform { get; set; }
|
||||
string Version { get; set; }
|
||||
}
|
||||
}
|
||||
8
Yavsc.Client/ILocation.cs
Normal file
8
Yavsc.Client/ILocation.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
public interface ILocation
|
||||
{
|
||||
string Address { get; set; }
|
||||
long Id { get; set; }
|
||||
}
|
||||
}
|
||||
8
Yavsc.Client/IPosition.cs
Normal file
8
Yavsc.Client/IPosition.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Yavsc
|
||||
{
|
||||
public interface IPosition
|
||||
{
|
||||
double Latitude { get; set; }
|
||||
double Longitude { get; set; }
|
||||
}
|
||||
}
|
||||
30
Yavsc.Client/Properties/AssemblyInfo.cs
Normal file
30
Yavsc.Client/Properties/AssemblyInfo.cs
Normal file
|
|
@ -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("Yavsc.Client")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Yavsc.Client")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2014")]
|
||||
[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")]
|
||||
67
Yavsc.Client/Yavsc.Client.csproj
Normal file
67
Yavsc.Client/Yavsc.Client.csproj
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.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>{67F9D3A8-F71E-4428-913F-C37AE82CDB24}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Yavsc.Client</RootNamespace>
|
||||
<AssemblyName>Yavsc.Client</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>Profile111</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</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>
|
||||
<Compile Include="IAccountBalance.cs" />
|
||||
<Compile Include="IApplicationUser.cs" />
|
||||
<Compile Include="IBlog.cs" />
|
||||
<Compile Include="ICircle.cs" />
|
||||
<Compile Include="ICircleMember.cs" />
|
||||
<Compile Include="IContact.cs" />
|
||||
<Compile Include="IGoogleCloudMobileDeclaration.cs" />
|
||||
<Compile Include="ILocation.cs" />
|
||||
<Compile Include="IPosition.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||
<Import Project="..\packages\Xamarin.Forms.2.0.0.6482\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets" Condition="Exists('..\packages\Xamarin.Forms.2.0.0.6482\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>Ce projet fait référence à des packages NuGet qui sont manquants sur cet ordinateur. Utilisez l'option de restauration des packages NuGet pour les télécharger. Pour plus d'informations, consultez http://go.microsoft.com/fwlink/?LinkID=322105. Le fichier manquant est : {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Xamarin.Forms.2.0.0.6482\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Forms.2.0.0.6482\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets'))" />
|
||||
</Target>
|
||||
<!-- 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>
|
||||
3
Yavsc.Client/packages.config
Normal file
3
Yavsc.Client/packages.config
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
</packages>
|
||||
Loading…
Add table
Add a link
Reference in a new issue