Example #1
0
 private void ConfigureRunner(BaseRunner runner)
 {
     runner.AssemblyName          = _assemblyName;
     runner.ConfigurationTypeName = _configurationTypeName;
     runner.ConnectionStringInfo  = _connectionStringInfo;
     runner.Log = new ToolLogger(this);
 }
 public void battleStart()
 {
     currentState         = BattleStates.INTRO;
     limitBreakCollection = this.GetComponent <LimitBreakCollection>();
     baseRunner           = this.GetComponent <BaseRunner>();
     dialogueManager      = this.GetComponent <DialogueManager>();
 }
Example #3
0
        private void Run(BaseRunner runner)
        {
            _appDomain.SetData("error", null);
            _appDomain.SetData("typeName", null);
            _appDomain.SetData("stackTrace", null);

            _appDomain.DoCallBack(runner.Run);

            var error = (string)_appDomain.GetData("error");

            if (error != null)
            {
                var typeName   = (string)_appDomain.GetData("typeName");
                var stackTrace = (string)_appDomain.GetData("stackTrace");

                throw new ToolingException(error, typeName, stackTrace);
            }
        }
Example #4
0
        private void Run(BaseRunner runner)
        {
            throw new NotImplementedException();

            //_appDomain.SetData("error", null);
            //_appDomain.SetData("typeName", null);
            //_appDomain.SetData("stackTrace", null);

            //_appDomain.DoCallBack(runner.Run);

            //var error = (string)_appDomain.GetData("error");

            //if (error != null)
            //{
            //    var typeName = (string)_appDomain.GetData("typeName");
            //    var stackTrace = (string)_appDomain.GetData("stackTrace");

            //    throw new ToolingException(error, typeName, stackTrace);
            //}
        }
Example #5
0
        private void Run(BaseRunner runner)
        {
#if NETSTANDARD
            runner.Run();
            //_appDomain.SetData("error", null);
            //_appDomain.SetData("typeName", null);
            //_appDomain.SetData("stackTrace", null);

            //_appDomain.
            //_appDomain.DoCallBack(runner.Run);

            //var error = (string)_appDomain.GetData("error");

            //if (error != null)
            //{
            //    var typeName = (string)_appDomain.GetData("typeName");
            //    var stackTrace = (string)_appDomain.GetData("stackTrace");

            //    throw new ToolingException(error, typeName, stackTrace);
            //}
#else
            _appDomain.SetData("error", null);
            _appDomain.SetData("typeName", null);
            _appDomain.SetData("stackTrace", null);

            _appDomain.DoCallBack(runner.Run);

            var error = (string)_appDomain.GetData("error");

            if (error != null)
            {
                var typeName   = (string)_appDomain.GetData("typeName");
                var stackTrace = (string)_appDomain.GetData("stackTrace");

                throw new ToolingException(error, typeName, stackTrace);
            }
#endif
        }
 private void Run(BaseRunner runner)
 {
     _appDomain.DoCallBack(runner.Run);
 }
        private void Run(BaseRunner runner)
        {
            _appDomain.SetData("error", null);
            _appDomain.SetData("typeName", null);
            _appDomain.SetData("stackTrace", null);

            _appDomain.DoCallBack(runner.Run);

            var error = (string)_appDomain.GetData("error");

            if (error != null)
            {
                var typeName = (string)_appDomain.GetData("typeName");
                var stackTrace = (string)_appDomain.GetData("stackTrace");

                throw new ToolingException(error, typeName, stackTrace);
            }
        }
 private void ConfigureRunner(BaseRunner runner)
 {
     runner.MigrationsAssemblyName = _migrationsAssemblyName;
     runner.ContextAssemblyName = _contextAssemblyName;
     runner.ConfigurationTypeName = _configurationTypeName;
     runner.ConnectionStringInfo = _connectionStringInfo;
     runner.Log = new ToolLogger(this);
 }
Example #9
0
 private void Run(BaseRunner runner)
 {
     _appDomain.DoCallBack(runner.Run);
 }