public void AddVariable(string name, string value)
        {
            var v = new ProcessVariable() { Name = name, Value = value };
            if (this.Variables == null)
                this.Variables = new BindingList<ProcessVariable>();

            this.Variables.Add(v);
        }
Example #2
0
        public void AddVariable(string name, string value)
        {
            var v = new ProcessVariable()
            {
                Name = name, Value = value
            };

            if (this.Variables == null)
            {
                this.Variables = new BindingList <ProcessVariable>();
            }

            this.Variables.Add(v);
        }