private TestTarget1 InitlizeTestTarget1()
		{
			int i0 = rnd.Next() % 100;
			int i1 = rnd.Next() % 8;
			int i2 = rnd.Next() % 8;
			var t = new TestTarget1();
			t.Id = i0;
			t.Name = string.Format("{0} {1}", EFirstName[i1], ELastName[i2]);
			t.Description = string.Format("{1}{0}", CFirstName[i1], CLastName[i2]);
			return t;
		}
Beispiel #2
0
        private TestTarget1 InitlizeTestTarget1()
        {
            int i0 = rnd.Next() % 100;
            int i1 = rnd.Next() % 8;
            int i2 = rnd.Next() % 8;
            var t  = new TestTarget1();

            t.Id          = i0;
            t.Name        = string.Format("{0} {1}", EFirstName[i1], ELastName[i2]);
            t.Description = string.Format("{1}{0}", CFirstName[i1], CLastName[i2]);
            return(t);
        }