예제 #1
0
 public LogonController(bool clearCache, ApplicationSettings settings, LogonCompletedDelegate logonComplete, String message = null)
     : base(settings)
 {
     _clearCache    = clearCache;
     _logonComplete = logonComplete;
     _ctorText      = message;
 }
예제 #2
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            if (!_disposed)
            {
                _settings      = null;
                _logonComplete = null;
                if (_message != null)
                {
                    _message.Dispose();
                }
                _message = null;
                if (_userName != null)
                {
                    _userName.Dispose();
                }
                _userName = null;
                if (_password != null)
                {
                    _password.Dispose();
                }
                _password = null;
                if (_logon != null)
                {
                    _logon.Dispose();
                }
                _logon = null;

                _disposed = true;
            }
        }
예제 #3
0
		public LogonController (bool clearCache, ApplicationSettings settings, LogonCompletedDelegate logonComplete, String message = null)
			: base (settings)
		{
			_clearCache = clearCache;
			_logonComplete = logonComplete;
			_ctorText = message;
		}
예제 #4
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            if (!_disposed)
            {
                _settings = null;
                _logonComplete = null;
                if (_message != null)
                    _message.Dispose();
                _message = null;
                if (_userName != null)
                    _userName.Dispose();
                _userName = null;
                if (_password != null)
                    _password.Dispose();
                _password = null;
                if (_logon != null)
                    _logon.Dispose();
                _logon = null;

                _disposed = true;
            }
        }