Show / Hide Table of Contents

Class GuidId

Wrapper object around Guid. Can be used in places where Guid is optional and in those cases it can be set to null and will not use the storage of an empty Guid struct.

Inheritance
System.Object
GuidId
Implements
IComparable<GuidId>
ISerializable
Namespace: Orleans.Runtime
Assembly: Orleans.Core.Abstractions.dll
Syntax
public sealed class GuidId : IEquatable<GuidId>, IComparable<GuidId>, ISerializable

Fields

| Improve this Doc View Source

Guid

Declaration
public readonly Guid Guid
Field Value
Type Description
Guid

Methods

| Improve this Doc View Source

CompareTo(GuidId)

Declaration
public int CompareTo(GuidId other)
Parameters
Type Name Description
GuidId other
Returns
Type Description
System.Int32
| Improve this Doc View Source

Equals(GuidId)

Declaration
public bool Equals(GuidId other)
Parameters
Type Name Description
GuidId other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
| Improve this Doc View Source

FromParsableString(String)

Declaration
public static GuidId FromParsableString(string guidId)
Parameters
Type Name Description
System.String guidId
Returns
Type Description
GuidId
| Improve this Doc View Source

GetGuidId(Guid)

Declaration
public static GuidId GetGuidId(Guid guid)
Parameters
Type Name Description
Guid guid
Returns
Type Description
GuidId
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetNewGuidId()

Declaration
public static GuidId GetNewGuidId()
Returns
Type Description
GuidId
| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context
| Improve this Doc View Source

SerializeToStream(IBinaryTokenStreamWriter)

Declaration
public void SerializeToStream(IBinaryTokenStreamWriter stream)
Parameters
Type Name Description
IBinaryTokenStreamWriter stream
| Improve this Doc View Source

ToParsableString()

Declaration
public string ToParsableString()
Returns
Type Description
System.String
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Operators

| Improve this Doc View Source

Equality(GuidId, GuidId)

Declaration
public static bool operator ==(GuidId a, GuidId b)
Parameters
Type Name Description
GuidId a
GuidId b
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Inequality(GuidId, GuidId)

Declaration
public static bool operator !=(GuidId a, GuidId b)
Parameters
Type Name Description
GuidId a
GuidId b
Returns
Type Description
System.Boolean

Implements

IComparable<>
ISerializable

Extension Methods

ImmutableExt.AsImmutable<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX