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); }
private void CopyMembers(JobInstanceParameter old) { this.direction = old.direction; }
public JobInstanceParameter(JobInstanceParameter old) : base(old) { CopyMembers(old); }