Beispiel #1
0
        public static TestType2 CreateT2StaticTemplate(TestType2 template)
        {
            TestType2 result = new TestType2();

            result.Status = template.Status;
            return(result);
        }
Beispiel #2
0
        public TestType2 CreateNewT2(TestType2 template, string description)
        {
            TestType2 result = new TestType2();

            result.Description = description;
            if (template != null)
            {
                result.Status = template.Status;
            }

            return(result);
        }
Beispiel #3
0
 public TestType2 ReturnTarget(TestType2 target)
 {
     return(target);
 }
Beispiel #4
0
 public void AssignT2Description(TestType2 target, string description)
 {
     target.Description = description;
 }
Beispiel #5
0
 public void AssignChild(TestType2 newValue)
 {
     this.Child = newValue;
 }