/
githubmirror
/
PowerShell
Обзор
Документация
Войти
/
githubmirror
/
PowerShell
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v7.6.2
src/Microsoft.PowerShell.Commands.Diagnostics/CounterFileInfo.cs
56 строк
1 KB
xtqqczze
Ensure `.cs` files end with exactly one newline (#25968)
03 сен 2025, 17:09
Не верифицирован
03 сен 2025, 17:09
e2b2d1e
Код
Авторство
О чём код?
// 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; } }