Refactoring||prettying

vnext
Paul Schneider 8 years ago
parent 902a50c429
commit b6220e7cd8
6 changed files with 22 additions and 27 deletions

@ -71,6 +71,7 @@ public class YaOAuth2Authenticator : WebRedirectAuthenticator
{ {
get { return this.redirectUrl; } get { return this.redirectUrl; }
} }
/// <summary> /// <summary>
/// Initializes a new <see cref="Xamarin.Auth.OAuth2Authenticator"/> /// Initializes a new <see cref="Xamarin.Auth.OAuth2Authenticator"/>
/// that authenticates using implicit granting (token). /// that authenticates using implicit granting (token).

@ -1,17 +1,9 @@
using BookAStar.Model.Blog; using BookAStar.Model.Blog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
using System.Text;
using Xamarin.Forms; using Xamarin.Forms;
using Yavsc.Models;
namespace BookAStar namespace BookAStar.Pages
{ {
public class BlogPage : ContentPage public class BlogPage : ContentPage
{ {
HtmlWebViewSource _source; HtmlWebViewSource _source;

@ -7,7 +7,7 @@ using System.Text;
using Xamarin.Forms; using Xamarin.Forms;
using Yavsc.Models.Identity; using Yavsc.Models.Identity;
namespace BookAStar namespace BookAStar.Pages
{ {
public class DeviceInfoPage : ContentPage public class DeviceInfoPage : ContentPage
{ {

@ -1,24 +1,25 @@
using System; using System;
using System.Collections.Generic;
using Xamarin.Forms; using Xamarin.Forms;
using BookAStar;
using System.Collections.ObjectModel;
using BookAStar.Model.Workflow.Messaging;
namespace BookAStar namespace BookAStar
{ {
public partial class EventDetail : ContentPage using Model.Workflow.Messaging;
{
public EventDetail (YaEvent ev) namespace Pages
{ {
InitializeComponent(); public partial class EventDetail : ContentPage
BindingContext = ev; {
btn_webpage.Clicked += (object sender, EventArgs e) => { public EventDetail(YaEvent ev)
App.PlateformSpecificInstance.OpenWeb(ev.EventWebPage); {
}; InitializeComponent();
} BindingContext = ev;
btn_webpage.Clicked += (object sender, EventArgs e) =>
{
App.PlateformSpecificInstance.OpenWeb(ev.EventWebPage);
};
}
} }
}
} }

@ -4,7 +4,7 @@ using Xamarin.Forms;
using Xamarin.Forms.Maps; using Xamarin.Forms.Maps;
using Yavsc; using Yavsc;
namespace BookAStar namespace BookAStar.Pages
{ {
public class PinPage : ContentPage public class PinPage : ContentPage
{ {

@ -3,6 +3,7 @@ using Xamarin.Forms;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using BookAStar.Model.Social; using BookAStar.Model.Social;
using BookAStar.Model.Workflow.Messaging; using BookAStar.Model.Workflow.Messaging;
using BookAStar.Pages;
namespace BookAStar namespace BookAStar
{ {

Loading…