private bool _callbackHasBeenCalled; // flag to assure that the callback will be called once (possibly with Cancel exception) as soon as the signin dialog has been activated

        /// <summary>
        /// Initializes a new instance of the <see cref="SignInDialog"/> control.
        /// </summary>
        public SignInDialog()
        {
#if SILVERLIGHT
            DefaultStyleKey = typeof(SignInDialog);
#endif
            GenerateCredentialCommand = new GenerateCredentialCommandImpl(this);
            CancelCommand             = new CancelCommandImpl(this);
            DataContext = this;
        }
		private bool _callbackHasBeenCalled; // flag to assure that the callback will be called once (possibly with Cancel exception) as soon as the signin dialog has been activated

		/// <summary>
		/// Initializes a new instance of the <see cref="SignInDialog"/> control.
		/// </summary>
		public SignInDialog()
		{
#if SILVERLIGHT
			DefaultStyleKey = typeof(SignInDialog);
#endif
			GenerateCredentialCommand = new GenerateCredentialCommandImpl(this);
			CancelCommand = new CancelCommandImpl(this);
			DataContext = this;
		}
		private long _requestID; // flag allowing the reuse of the same dialog after cancelling a request

		/// <summary>
		/// Initializes a new instance of the <see cref="SignInDialog"/> control.
		/// </summary>
		public SignInDialog()
		{
			GenerateCredentialCommand = new GenerateCredentialCommandImpl(this);
			CancelCommand = new CancelCommandImpl(this);
			DataContext = this;
		}
Esempio n. 4
0
        private long _requestID;         // flag allowing the reuse of the same dialog after cancelling a request

        /// <summary>
        /// Initializes a new instance of the <see cref="SignInDialog"/> control.
        /// </summary>
        public SignInDialog()
        {
            GenerateCredentialCommand = new GenerateCredentialCommandImpl(this);
            CancelCommand             = new CancelCommandImpl(this);
            DataContext = this;
        }