Esempio n. 1
0
        public int STAction()
        {
            STRunTimeContext ctx = new STRunTimeContext(Directory.GetParent(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)).FullName, string.Empty);
            WorkFlowScript script = new WorkFlowScript(ctx);
            script.InitializeComponent();
            script.Start();

            return 0;
        }
Esempio n. 2
0
        public int STAction()
        {
            AddAssemblyResolver();
            STRunTimeContext ctx    = new STRunTimeContext(Directory.GetParent(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)).FullName, string.Empty);
            WorkFlowScript   script = new WorkFlowScript(ctx);

            script.InitializeComponent();
            script.Start();

            return(0);
        }
Esempio n. 3
0
 public void NotifyLicenseException(string msg)
 {
     try
     {
         STRunTimeContext ctx    = new STRunTimeContext(Directory.GetParent(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)).FullName, string.Empty);
         WorkFlowScript   script = new WorkFlowScript(ctx);
         script.InitializeComponent();
         script.Context.ReplayClient.OnLicenseFailure(msg);
     }
     catch (Exception)
     {
         // ToDo: log the error message
     }
 }
Esempio n. 4
0
        public void NotifyLicenseException(string msg)
        {
            try
            {
                STRunTimeContext ctx = new STRunTimeContext(Directory.GetParent(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)).FullName, string.Empty);
                WorkFlowScript script = new WorkFlowScript(ctx);
                script.InitializeComponent();
                script.Context.ReplayClient.OnLicenseFailure(msg);

            }
            catch (Exception)
            {
                // ToDo: log the error message
            }
        }