mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
- Remove the year about copyright - Fix casing of `All rights reserved` - Replace Unicode characters representing single quote with a single quote
56 lines
1.2 KiB
C#
56 lines
1.2 KiB
C#
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Specialized;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.ComponentModel;
|
|
|
|
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;
|
|
}
|
|
}
|
|
|