コード例 #1
0
        public MainPage()
        {
            this.InitializeComponent();

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

            Validator.Validate();
        }
コード例 #2
0
        public MainPage()
        {
            this.InitializeComponent();
            var Validator = new PCLProyect.AppValidator(new UWPDialog());

            Validator.Device   = "Android.Provider.Settings.Secure.GetString(ContentResolver, Android.Provider.Settings.Secure.AndroidId)";
            Validator.Email    = "email";
            Validator.Password = "******";
            Validator.Validate();
        }
コード例 #3
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            // SetContentView (Resource.Layout.Main);
            var Validator = new PCLProyect.AppValidator(new AndroidDialog(this));

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