Team Ai
Datasetpublic

MegaBites-AI/Windows-powershell

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes372downloads
1// Copyright (c) Microsoft Corporation.2// Licensed under the MIT License.3 4using System;5using System.Collections;6using System.Collections.Generic;7using System.Collections.Specialized;8using System.ComponentModel;9using System.Diagnostics;10 11namespace Microsoft.PowerShell.Commands.GetCounter12{13    public class CounterFileInfo14    {15        internal CounterFileInfo(DateTime oldestRecord,16            DateTime newestRecord,17            UInt32 sampleCount)18        {19            _oldestRecord = oldestRecord;20            _newestRecord = newestRecord;21            _sampleCount = sampleCount;22        }23 24        internal CounterFileInfo() { }25 26        public DateTime OldestRecord27        {28            get29            {30                return _oldestRecord;31            }32        }33 34        private DateTime _oldestRecord = DateTime.MinValue;35 36        public DateTime NewestRecord37        {38            get39            {40                return _newestRecord;41            }42        }43 44        private DateTime _newestRecord = DateTime.MaxValue;45 46        public UInt32 SampleCount47        {48            get49            {50                return _sampleCount;51            }52        }53 54        private UInt32 _sampleCount = 0;55    }56}57