Struct VarIntStr
Holds either an integer or a string value.
This is useful for metadata, i.e. types, if type is known an integer is sent, otherwise a full type name is sent
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.dll
Syntax
[Serializable]
public struct VarIntStr : IEquatable<VarIntStr>
Constructors
VarIntStr(String)
Declaration
public VarIntStr(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
VarIntStr(UInt32)
Declaration
public VarIntStr(uint value)
Parameters
Type |
Name |
Description |
System.UInt32 |
value |
|
Fields
IntValue
Declaration
public readonly uint IntValue
Field Value
Type |
Description |
System.UInt32 |
|
StringValue
Declaration
public readonly string StringValue
Field Value
Type |
Description |
System.String |
|
Methods
Equals(VarIntStr)
Declaration
public bool Equals(VarIntStr 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()
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Implements
System.IEquatable<T>
Extension Methods