Start() public méthode

public Start ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void
        private bool InitializeRubyApplication(HttpApplication context)
        {
            if (_mvcApplication.IsNotNull()) return false;

            _mvcApplication = _rubyEngine.ExecuteFile<MvcApplication>("~/mvc_application.rb",  false);
            if(_mvcApplication.IsNotNull()) _mvcApplication.Start(context, EventArgs.Empty);
            return true;
        }
Exemple #2
0
        private bool InitializeRubyApplication(HttpApplication context)
        {
            if (_mvcApplication.IsNotNull())
            {
                return(false);
            }

            _mvcApplication = _rubyEngine.ExecuteFile <MvcApplication>("~/mvc_application.rb", false);
            if (_mvcApplication.IsNotNull())
            {
                _mvcApplication.Start(context, EventArgs.Empty);
            }
            return(true);
        }