Class AdapterWorkerContext
- Namespace
- MirrorPulse.Adapter.Sdk
- Assembly
- MirrorPulse.Adapter.Sdk.dll
Non-secret startup context supplied by MirrorPulse to an Adapter Worker.
public sealed record AdapterWorkerContext : IEquatable<AdapterWorkerContext>
- Inheritance
-
AdapterWorkerContext
- Implements
- Inherited Members
Constructors
AdapterWorkerContext(Guid, Guid, string, IReadOnlyDictionary<string, string>, string, string)
public AdapterWorkerContext(Guid instanceId, Guid workerSessionId, string pipeName, IReadOnlyDictionary<string, string> configuration, string fileCacheDirectory, string transferCacheDirectory)
Parameters
instanceIdGuidworkerSessionIdGuidpipeNamestringconfigurationIReadOnlyDictionary<string, string>fileCacheDirectorystringtransferCacheDirectorystring
Properties
Configuration
public IReadOnlyDictionary<string, string> Configuration { get; }
Property Value
FileCacheDirectory
public string FileCacheDirectory { get; }
Property Value
InstanceId
public Guid InstanceId { get; }
Property Value
PipeName
public string PipeName { get; }
Property Value
TransferCacheDirectory
public string TransferCacheDirectory { get; }
Property Value
WorkerSessionId
public Guid WorkerSessionId { get; }
Property Value
Methods
Equals(AdapterWorkerContext?)
public bool Equals(AdapterWorkerContext? other)
Parameters
otherAdapterWorkerContext
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(AdapterWorkerContext?, AdapterWorkerContext?)
public static bool operator ==(AdapterWorkerContext? left, AdapterWorkerContext? right)
Parameters
leftAdapterWorkerContextrightAdapterWorkerContext
Returns
operator !=(AdapterWorkerContext?, AdapterWorkerContext?)
public static bool operator !=(AdapterWorkerContext? left, AdapterWorkerContext? right)
Parameters
leftAdapterWorkerContextrightAdapterWorkerContext