//public static Section GetAndStartContext(string name) //{ // Section section = new Section(); // section.Name = name; // section.StartContext(); // return section; //} //public static Section GetAndStartTime(string name) //{ // Section section = new Section(); // section.Name = name; // section.StartTime(); // return section; //} public static Section GetAndStartContextAndTime(string name) { Section section = new Section(); section.Name = name; section.StartContext(); section.StartTime(); return(section); }
//public static Section GetAndStartContext(string name) //{ // Section section = new Section(); // section.Name = name; // section.StartContext(); // return section; //} //public static Section GetAndStartTime(string name) //{ // Section section = new Section(); // section.Name = name; // section.StartTime(); // return section; //} public static Section GetAndStartContextAndTime(string name) { Section section = new Section(); section.Name = name; section.StartContext(); section.StartTime(); return section; }