Esempio n. 1
0
        public MainPage()
        {
            this.InitializeComponent();

            var Validator = new PCLProject.AppValidator(new UWPDialog());

            Validator.Validate();
        }
Esempio n. 2
0
        public MainPage()
        {
            this.InitializeComponent();
            /**Creamos la instancia del código compartido y le inyectamos la dependencia*/
            var Validator = new PCLProject.AppValidator(new UWPDialog());

            Validator.Validate();
        }
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            var Validator = new PCLProject.AppValidator(new AndroidDialog(this));

            Validator.Email    = "xxxxxxxxxxxxxxx";
            Validator.Password = "******";
            Validator.Device   = Android.Provider.Settings.Secure.GetString(ContentResolver, Android.Provider.Settings.Secure.AndroidId);
            Validator.Validate();
            // Set our view from the "main" layout resource
            // SetContentView (Resource.Layout.Main);
        }
Esempio n. 4
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            var Validator = new PCLProject.AppValidator(new AndroidDialog(this));

            Validator.EMail    = "*****@*****.**";
            Validator.Password = "******";
            Validator.Device   = Android.Provider.Settings.Secure.GetString(
                ContentResolver,
                Android.Provider.Settings.Secure.AndroidId);
            Validator.Validate();
        }
Esempio n. 5
0
        public MainPage()
        {
            InitializeComponent();

            // Creamos la instancia de código compartido y
            // le inyectamos la dependencia
            var validator = new PCLProject.AppValidator(new UWPDialog());

            // Aquí podríamos establecer los valores de las propriedades
            // Email, Password y Device

            // Realizamos la validación
            validator.Validate();
        }
Esempio n. 6
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Creamos la instancia del código compartido
            // y le inyectamos la dependencia.
            var validator = new PCLProject.AppValidator(new AndroidDialog(this));

            // Aquí podríamos establecer los valores de las propriedades
            // Email, Password y Device

            // Realizamos la validación
            validator.Validate();

            // Set our view from the "main" layout resource
            // SetContentView (Resource.Layout.Main);
        }
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            // SetContentView (Resource.Layout.Main);
            /** Creamos la instancia del código compartido y le inyectamos la dependencia. */
            var Validator = new PCLProject.AppValidator(new AndroidDialog(this));

            /** Aquí prodríamos establecer los valores de las propiedades
             * Email, Password y Device */

            Validator.Email    = "*****@*****.**";
            Validator.Password = "******";
            Validator.Device   = Android.Provider.Settings.Secure.GetString(ContentResolver, Android.Provider.Settings.Secure.AndroidId);

            // Realizamos la validación
            Validator.Validate();
        }
Esempio n. 8
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Creamos la instancia de código compartido y
            // le inyectamos la dependencia
            var validator = new PCLProject.AppValidator(new AndroidDialog(this));

            // Aquí podríamos establecer los valores de las propriedades
            // Email, Password y Device
            validator.EMail    = "*****@*****.**";
            validator.Password = "******";
            validator.Device   = Android.Provider.Settings.Secure.GetString(ContentResolver,
                                                                            Android.Provider.Settings.Secure.AndroidId);

            // Realizamos la validación
            validator.Validate();

            // Set our view from the "main" layout resource
            // SetContentView (Resource.Layout.Main);
        }