Exemple #1
0
        private TabSection BuildTimeZoneDetails(EnvironmentTimeZoneModel model)
        {
            var section = new TabSection("Current", "Is Daylight Saving", "UtcOffset", "UtcOffset w/DLS");

            section.AddRow().Column(model.Name).Column(model.IsDaylightSavingTime).Column(model.UtcOffset).Column(model.UtcOffsetWithDls);
            return(section);
        }
        private TabObject BuildTimeZoneDetails(EnvironmentTimeZoneModel model)
        {
            var section = new TabObject();

            section.AddRow().Key("Current").Value(model.Name);
            section.AddRow().Key("Is Daylight Saving").Value(model.IsDaylightSavingTime);
            section.AddRow().Key("UtcOffset").Value(model.UtcOffset);
            section.AddRow().Key("UtcOffset w/DLS").Value(model.UtcOffsetWithDls);
            return(section);
        }