refactoring: --YavscLib-- => Yavsc

This commit is contained in:
2017-05-27 16:22:58 +02:00
parent e07c06b32e
commit 2a8b078024
102 changed files with 218 additions and 211 deletions

View File

@ -40,7 +40,7 @@ namespace ZicMoove
using System.Net.Http;
using System.Text;
using Pages.ClientPages;
using YavscLib;
using Yavsc;
using Model.Musical;
public partial class App : Application // superclass new in 1.3
@ -135,7 +135,7 @@ namespace ZicMoove
private void OnAppResumed(object sender, EventArgs e)
{
StartConnexion();
// TODO restore the navigation stack
// TODO restore the navigation stack
base.OnResume();
foreach (var pageState in DataManager.Instance.AppState)
{
@ -153,7 +153,7 @@ namespace ZicMoove
DataManager.Instance.AppState.SaveEntity();
}
// FIXME Not called?
// FIXME Not called?
private void OnRotation(object sender, EventArgs<Orientation> e)
{
@ -179,7 +179,7 @@ namespace ZicMoove
public App(IPlatform instance)
{
// This declaration became obsolete by introduction
// of the XLabs App that
// of the XLabs App that
// refers this instance with
// its application context property
// and is obtained using the `Resolver`
@ -224,7 +224,7 @@ namespace ZicMoove
private void BuildMainPage()
{
// TODO
// in case of App resume,
// in case of App resume,
// do not create new BindingContext's,
// but use those from the AppState property
accChooserPage = new AccountChooserPage();
@ -285,7 +285,7 @@ namespace ZicMoove
masterDetail.Detail = new NavigationPage(homePage);
ToolbarItem tiSetts = new ToolbarItem()
{
// FIXME what for? Priority = 0,
// FIXME what for? Priority = 0,
Text = "Paramètres",
Icon = "ic_corp_icon.png",
Command = new Command(

View File

@ -1,5 +1,5 @@
using System;
using YavscLib;
using Yavsc;
namespace ZicMoove.Model.Auth
{

View File

@ -4,9 +4,9 @@ using System;
namespace ZicMoove.Model.Auth.Account
{
using Yavsc.Models;
using YavscLib;
using Yavsc;
public class GoogleCloudMobileDeclaration
public class GoogleCloudMobileDeclaration
{
public string GCMRegistrationId { get; set; }
public string DeviceId { get; set; }
@ -34,4 +34,4 @@ namespace ZicMoove.Model.Auth.Account
set;
}
}
}
}

View File

@ -1,5 +1,5 @@
using System;
using YavscLib;
using Yavsc;
namespace ZicMoove.Model.Blog
{

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YavscLib;
using Yavsc;
namespace ZicMoove.Model.Social.Chat
{

View File

@ -4,7 +4,7 @@ using XLabs.Forms.Mvvm;
namespace ZicMoove.Model.Workflow
{
using YavscLib;
using Yavsc;
public class Activity : ViewModel, IActivity
{
public string Code

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YavscLib;
using Yavsc;
namespace ZicMoove.Model.Workflow
{

View File

@ -8,7 +8,7 @@ namespace ZicMoove.Model.Workflow
{
using Data;
using Musical;
using YavscLib.Workflow;
using Yavsc.Workflow;
public partial class Estimate : IEstimate
{
@ -49,7 +49,7 @@ namespace ZicMoove.Model.Workflow
get { return AttachedFiles == null ? null : string.Join(":", AttachedFiles); }
set { AttachedFiles = value.Split(':').ToList(); }
}
public string OwnerId { get; set; }
[JsonIgnore]
public ClientProviderInfo Owner

View File

@ -2,7 +2,7 @@
namespace ZicMoove.Model.Workflow
{
using YavscLib.Billing;
using Yavsc.Billing;
public class BillingLine : ICommandLine
{
public long Id { get; set; }

View File

@ -3,7 +3,7 @@ using System;
using System.Globalization;
using System.Windows.Input;
using System.ComponentModel;
using YavscLib.Billing;
using Yavsc.Billing;
namespace ZicMoove.ViewModels.EstimateAndBilling
{
@ -163,7 +163,7 @@ pour décrire la quantité de travail associée à ce type de service")]
Data.Duration = this.Duration;
}
}
public static readonly string unitCostFormat = "0,.00";
string unitaryCostText;
public string UnitaryCostText

View File

@ -4,7 +4,7 @@ using System.Collections.ObjectModel;
using System.Linq;
using Xamarin.Forms;
using XLabs.Forms.Mvvm;
using YavscLib;
using Yavsc;
using System;
using Newtonsoft.Json;
using ZicMoove.Model.Social.Messaging;
@ -187,7 +187,7 @@ namespace ZicMoove.Model.Social.Chat
if (existentcx != null)
{
this.ObservableConnections.Remove(existentcx);
if (this.ObservableConnections.Count == 0)
NotifyPropertyChanged("IsConnected");
}