Struct StreamKey
Syntax
public readonly struct StreamKey : IEquatable<StreamKey>
Constructors
StreamKey(String, PersistentKey)
Declaration
public StreamKey(string sourceId, PersistentKey key)
Parameters
Type |
Name |
Description |
String |
sourceId |
|
PersistentKey |
key |
|
Fields
key
Declaration
public readonly PersistentKey key
Field Value
Type |
Description |
PersistentKey |
|
source
Declaration
public readonly string source
Field Value
Methods
Equals(Object)
Declaration
public override readonly bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(StreamKey)
Declaration
public readonly bool Equals(StreamKey other)
Parameters
Returns
FromSyncId<T>(String, SyncId)
Declaration
public static StreamKey FromSyncId<T>(string sourceId, SyncId id)
where T : ISyncModel
Parameters
Type |
Name |
Description |
String |
sourceId |
|
SyncId |
id |
|
Returns
Type Parameters
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override readonly string ToString()
Returns
Overrides
Operators
Equality(StreamKey, StreamKey)
Declaration
public static bool operator ==(StreamKey a, StreamKey b)
Parameters
Returns
Inequality(StreamKey, StreamKey)
Declaration
public static bool operator !=(StreamKey a, StreamKey b)
Parameters
Returns