Struct EnvironmentInfo
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace:App.Metrics.Infrastructure
Assembly:cs.temp.dll.dll
Syntax
public struct EnvironmentInfo
Constructors
EnvironmentInfo(IDictionary<String, String>)
Declaration
public EnvironmentInfo(IDictionary<string, string> entries)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.String> |
entries |
|
EnvironmentInfo(String, String, String, String, String, String, String, String, String)
Declaration
public EnvironmentInfo(string entryAssemblyName, string entryAssemblyVersion, string hostName, string localTimeString, string machineName, string operatingSystem, string operatingSystemVersion, string processName, string processorCount)
Parameters
Type |
Name |
Description |
System.String |
entryAssemblyName |
|
System.String |
entryAssemblyVersion |
|
System.String |
hostName |
|
System.String |
localTimeString |
|
System.String |
machineName |
|
System.String |
operatingSystem |
|
System.String |
operatingSystemVersion |
|
System.String |
processName |
|
System.String |
processorCount |
|
Fields
Empty
Declaration
public static readonly EnvironmentInfo Empty
Field Value
Properties
Entries
Declaration
public IEnumerable<EnvironmentInfoEntry> Entries { get; }
Property Value
EntryAssemblyName
Declaration
public string EntryAssemblyName { get; }
Property Value
Type |
Description |
System.String |
|
EntryAssemblyVersion
Declaration
public string EntryAssemblyVersion { get; }
Property Value
Type |
Description |
System.String |
|
HostName
Declaration
public string HostName { get; }
Property Value
Type |
Description |
System.String |
|
LocalTimeString
Declaration
public string LocalTimeString { get; }
Property Value
Type |
Description |
System.String |
|
MachineName
Declaration
public string MachineName { get; }
Property Value
Type |
Description |
System.String |
|
OperatingSystem
Declaration
public string OperatingSystem { get; }
Property Value
Type |
Description |
System.String |
|
OperatingSystemVersion
Declaration
public string OperatingSystemVersion { get; }
Property Value
Type |
Description |
System.String |
|
ProcessName
Declaration
public string ProcessName { get; }
Property Value
Type |
Description |
System.String |
|
ProcessorCount
Declaration
public string ProcessorCount { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Equals(EnvironmentInfo)
Declaration
public bool Equals(EnvironmentInfo other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
Operators
Equality(EnvironmentInfo, EnvironmentInfo)
Declaration
public static bool operator ==(EnvironmentInfo left, EnvironmentInfo right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(EnvironmentInfo, EnvironmentInfo)
Declaration
public static bool operator !=(EnvironmentInfo left, EnvironmentInfo right)
Parameters
Returns
Type |
Description |
System.Boolean |
|