Skip to content

Instantly share code, notes, and snippets.

View JuanKRuiz's full-sized avatar

Juan Carlos Ruiz Pacheco JuanKRuiz

  • Google
  • Bogotá, Colombia
View GitHub Profile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
#if WINDOWS_PHONE_APP
@JuanKRuiz
JuanKRuiz / BindableBase.cs
Last active January 18, 2016 01:04
BindableBase class used in WinRT App development
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace System.ComponentModel
{
public class BindableBase : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public bool SetProperty<T>(ref T propertyBackStore, T newValue, [CallerMemberName] string propertyName = "")
@JuanKRuiz
JuanKRuiz / App.xaml.cs
Created July 29, 2014 00:03
Código relacionado con el post "WebAuthenticationBroker y métodos AndContinue | C#" http://juank.io/windows-phone-webauthenticationbroker-metodos-andcontinue/
//Code to add into app.xaml.cs
//this file must be previously generated by Visual Studio 2013 templated project
ContinuationManager _myContinuationManager = new ContinuationManager();
protected async override void OnActivated(IActivatedEventArgs args)
{
CreateRootFrame();