Struct PID
Represents a globally-unique process identifier. The pids are allocated of SkySystem.ProcessManager
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.Sky.dll
Syntax
[Serializable]
public struct PID : IEquatable<PID>
Constructors
PID(JSONDataMap)
Declaration
public PID(JSONDataMap dataMap)
Parameters
PID(String, Int32, String, Boolean)
Declaration
public PID(string zone, int processorID, string id, bool isUnique)
Parameters
Type |
Name |
Description |
System.String |
zone |
|
System.Int32 |
processorID |
|
System.String |
id |
|
System.Boolean |
isUnique |
|
Fields
ID
Declaration
public readonly string ID
Field Value
Type |
Description |
System.String |
|
IsUnique
Declaration
public readonly bool IsUnique
Field Value
Type |
Description |
System.Boolean |
|
ProcessorID
Declaration
public readonly int ProcessorID
Field Value
Type |
Description |
System.Int32 |
|
Zero
Declaration
public static readonly PID Zero
Field Value
Zone
Declaration
public readonly string Zone
Field Value
Type |
Description |
System.String |
|
Methods
Equals(PID)
Declaration
public bool Equals(PID other)
Parameters
Type |
Name |
Description |
PID |
other |
|
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()
Parse(String)
Declaration
public static PID Parse(string str)
Parameters
Type |
Name |
Description |
System.String |
str |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
TryParse(String, out PID)
Declaration
public static bool TryParse(string str, out PID pid)
Parameters
Type |
Name |
Description |
System.String |
str |
|
PID |
pid |
|
Returns
Type |
Description |
System.Boolean |
|
TryParse(String, out Nullable<PID>)
Declaration
public static bool TryParse(string str, out PID? pid)
Parameters
Type |
Name |
Description |
System.String |
str |
|
System.Nullable<PID> |
pid |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>
Extension Methods