| 123456789101112131415161718192021222324252627282930313233343536373839 |
- //
- // System.Diagnostics.InstanceData.cs
- //
- // Authors:
- // Jonathan Pryor ([email protected])
- //
- // (C) 2002
- //
- using System;
- using System.Diagnostics;
- namespace System.Diagnostics {
- public class InstanceData {
- private string instanceName;
- private CounterSample sample;
- public InstanceData (string instanceName, CounterSample sample)
- {
- this.instanceName = instanceName;
- this.sample = sample;
- }
- public string InstanceName {
- get {return instanceName;}
- }
- public long RawValue {
- get {return sample.RawValue;}
- }
- public CounterSample Sample {
- get {return sample;}
- }
- }
- }
|