Beispiel #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;
        }
Beispiel #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);
        }
Beispiel #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
     }
 }
Beispiel #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
            }
        }