Class CorrelationId
Inheritance
System.Object
CorrelationId
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Catalyst.Core.Lib.dll
Syntax
public sealed class CorrelationId : ICorrelationId, IEquatable<ICorrelationId>
Constructors
|
Improve this Doc
View Source
CorrelationId(ByteString)
Provides a correlation Id from a protobuf byte string.
Declaration
public CorrelationId(ByteString byteString)
Parameters
Type |
Name |
Description |
ByteString |
byteString |
|
|
Improve this Doc
View Source
CorrelationId(Byte[])
Provides a correlation Id from a byte array.
Declaration
public CorrelationId(byte[] bytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
|
Improve this Doc
View Source
CorrelationId(Guid)
Provide a known correlation Id.
Declaration
public CorrelationId(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Fields
|
Improve this Doc
View Source
GuidByteLength
Length of the inner Guid in bytes
Declaration
public static readonly int GuidByteLength
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
Id
Declaration
Property Value
Type |
Description |
System.Guid |
|
Methods
|
Improve this Doc
View Source
Equals(ICorrelationId)
Declaration
public bool Equals(ICorrelationId other)
Parameters
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 |
|
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GenerateCorrelationId()
Static helper to get new CorrelationId.
Declaration
public static ICorrelationId GenerateCorrelationId()
Returns
|
Improve this Doc
View Source
GenerateEmptyCorrelationId()
Static helper to get empty correlation id
Declaration
public static ICorrelationId GenerateEmptyCorrelationId()
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
|
Improve this Doc
View Source
Equality(CorrelationId, CorrelationId)
Declaration
public static bool operator ==(CorrelationId left, CorrelationId right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(CorrelationId, CorrelationId)
Declaration
public static bool operator !=(CorrelationId left, CorrelationId right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>