/
githubmirror
/
PowerShell
Обзор
Документация
Войти
/
githubmirror
/
PowerShell
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v7.4.12
src/Microsoft.PowerShell.Commands.Diagnostics/CounterFileInfo.cs
56 строк
1 KB
Steve Lee
Update copyright notice to latest guidance (#12190)
24 мар 2020, 21:08
Не верифицирован
24 мар 2020, 21:08
b7cb335
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; namespace Microsoft.PowerShell.Commands.GetCounter { public class CounterFileInfo { internal CounterFileInfo(DateTime oldestRecord, DateTime newestRecord, UInt32 sampleCount) { _oldestRecord = oldestRecord; _newestRecord = newestRecord; _sampleCount = sampleCount; } internal CounterFileInfo() { } public DateTime OldestRecord { get { return _oldestRecord; } } private DateTime _oldestRecord = DateTime.MinValue; public DateTime NewestRecord { get { return _newestRecord; } } private DateTime _newestRecord = DateTime.MaxValue; public UInt32 SampleCount { get { return _sampleCount; } } private UInt32 _sampleCount = 0; } }