예제 #1
0
        private ParameterTestClass CreateTestClass()
        {
            var pars = new ParameterTestClass();

            var par1 = new Parameter()
            {
                Name = "param1",
                Value = "test parameter value"
            };
            pars.Parameters.Add(par1);

            var par2 = new JobDefinitionParameter()
            {
                Name = "param2",
                TypeName = typeof(string).AssemblyQualifiedName,
                Direction = JobParameterDirection.In
            };
            pars.Parameters.Add(par2);

            var par3 = new JobInstanceParameter()
            {
                Name = "param3",
                Value = 123L
            };
            pars.Parameters.Add(par3);

            return pars;
        }
        private ParameterTestClass CreateTestClass()
        {
            var pars = new ParameterTestClass();

            var par1 = new Parameter()
            {
                Name  = "param1",
                Value = "test parameter value"
            };

            pars.Parameters.Add(par1);

            var par2 = new JobDefinitionParameter()
            {
                Name      = "param2",
                TypeName  = typeof(string).AssemblyQualifiedName,
                Direction = JobParameterDirection.In
            };

            pars.Parameters.Add(par2);

            var par3 = new JobInstanceParameter()
            {
                Name  = "param3",
                Value = 123L
            };

            pars.Parameters.Add(par3);

            return(pars);
        }
예제 #3
0
 private void CopyMembers(JobInstanceParameter old)
 {
     this.direction = old.direction;
 }
예제 #4
0
 public JobInstanceParameter(JobInstanceParameter old)
     : base(old)
 {
     CopyMembers(old);
 }
예제 #5
0
 private void CopyMembers(JobInstanceParameter old)
 {
     this.direction = old.direction;
 }
예제 #6
0
 public JobInstanceParameter(JobInstanceParameter old)
     : base(old)
 {
     CopyMembers(old);
 }