From 95f7e3c84a9814825c4a8df38e860a8ab944ef6c Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 30 Nov 2016 16:45:44 +0100 Subject: [PATCH] refactoring --- Yavsc/Helpers/GoogleHelpers.cs | 9 +- .../ApplicationDbContextModelSnapshot.cs | 2 - Yavsc/Models/Bank/AccountBalance.cs | 3 +- Yavsc/Models/Messaging/BaseEvent.cs | 2 +- YavscLib/YavscLib.csproj | 145 +++++++++--------- YavscLib/project.json | 3 +- 6 files changed, 81 insertions(+), 83 deletions(-) diff --git a/Yavsc/Helpers/GoogleHelpers.cs b/Yavsc/Helpers/GoogleHelpers.cs index dc82df0b..4858f56e 100644 --- a/Yavsc/Helpers/GoogleHelpers.cs +++ b/Yavsc/Helpers/GoogleHelpers.cs @@ -23,12 +23,13 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Identity; -using Yavsc.Models; -using Yavsc.Models.Auth; -using Yavsc.Models.Google.Messaging; -using Yavsc.Models.Messaging; namespace Yavsc.Helpers { + using Models.Auth; + using Models.Google.Messaging; + using Models.Messaging; + using Models; + /// /// Google helpers. /// diff --git a/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs b/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs index 0b7955b3..f9153cd7 100644 --- a/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,8 +1,6 @@ using System; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Infrastructure; -using Microsoft.Data.Entity.Metadata; -using Microsoft.Data.Entity.Migrations; using Yavsc.Models; namespace Yavsc.Migrations diff --git a/Yavsc/Models/Bank/AccountBalance.cs b/Yavsc/Models/Bank/AccountBalance.cs index 8070f37b..29f19a02 100644 --- a/Yavsc/Models/Bank/AccountBalance.cs +++ b/Yavsc/Models/Bank/AccountBalance.cs @@ -1,10 +1,9 @@ using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; -using Yavsc.Interfaces; namespace Yavsc.Models { - + using Interfaces; public partial class AccountBalance: IAccountBalance { [Key] diff --git a/Yavsc/Models/Messaging/BaseEvent.cs b/Yavsc/Models/Messaging/BaseEvent.cs index ea946638..ab648c00 100644 --- a/Yavsc/Models/Messaging/BaseEvent.cs +++ b/Yavsc/Models/Messaging/BaseEvent.cs @@ -20,10 +20,10 @@ // along with this program. If not, see . using System.ComponentModel.DataAnnotations; -using Yavsc.Interfaces; namespace Yavsc.Models.Messaging { + using Interfaces; /// /// Base event. /// diff --git a/YavscLib/YavscLib.csproj b/YavscLib/YavscLib.csproj index e2655832..85b13f6e 100644 --- a/YavscLib/YavscLib.csproj +++ b/YavscLib/YavscLib.csproj @@ -1,73 +1,74 @@ - - - - - 10.0 - Debug - AnyCPU - {67F9D3A8-F71E-4428-913F-C37AE82CDB24} - Library - Properties - Yavsc.Client - Yavsc.Client - v4.5 - Profile111 - 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 - - - - - - - - - - - - - - - - - - - Designer - - - - - - - - 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}. - - - + + + + + 10.0 + Debug + AnyCPU + {67F9D3A8-F71E-4428-913F-C37AE82CDB24} + Library + Properties + Yavsc.Client + Yavsc.Client + v4.5 + Profile111 + 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 + + + + + + + + + + + + + + + + + + + Designer + + + + + + + + + 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}. + + + \ No newline at end of file diff --git a/YavscLib/project.json b/YavscLib/project.json index 6204fd2a..a6ce1f58 100644 --- a/YavscLib/project.json +++ b/YavscLib/project.json @@ -14,7 +14,6 @@ }, "dependencies": {}, "frameworks": { - "net451": {}, - ".NETPortable,Version=v4.5,Profile=Profile111": {} + "net451": {} } } \ No newline at end of file