StartTime() public méthode

public StartTime ( ) : void
Résultat void
Exemple #1
0
        //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);
        }
Exemple #2
0
        //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;


        }