Class AdapterWorkerProcessArguments
- Namespace
- MirrorPulse.Adapter.Sdk
- Assembly
- MirrorPulse.Adapter.Sdk.dll
The Host-provided Worker process identity, pipe name and launch mode.
public sealed record AdapterWorkerProcessArguments : IEquatable<AdapterWorkerProcessArguments>
- Inheritance
-
AdapterWorkerProcessArguments
- Implements
- Inherited Members
Constructors
AdapterWorkerProcessArguments(Guid, Guid, string)
The Host-provided Worker process identity, pipe name and launch mode.
public AdapterWorkerProcessArguments(Guid InstanceId, Guid WorkerSessionId, string PipeName)
Parameters
Fields
ConfigurationOnlyOption
public const string ConfigurationOnlyOption = "--configuration-only"
Field Value
Properties
ConfigurationOnly
Indicates a temporary session that may handle authorization before a sync root is configured.
public bool ConfigurationOnly { get; init; }
Property Value
InstanceId
public Guid InstanceId { get; init; }
Property Value
PipeName
public string PipeName { get; init; }
Property Value
WorkerSessionId
public Guid WorkerSessionId { get; init; }
Property Value
Methods
Deconstruct(out Guid, out Guid, out string)
public void Deconstruct(out Guid InstanceId, out Guid WorkerSessionId, out string PipeName)
Parameters
Equals(AdapterWorkerProcessArguments?)
public bool Equals(AdapterWorkerProcessArguments? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Parse(IReadOnlyList<string>)
Parses the documented argument sequence supplied by the Host.
public static AdapterWorkerProcessArguments Parse(IReadOnlyList<string> args)
Parameters
argsIReadOnlyList<string>
Returns
Exceptions
- ArgumentException
The order, identifiers, pipe name or optional launch mode is invalid.
ToString()
public override string ToString()
Returns
Operators
operator ==(AdapterWorkerProcessArguments?, AdapterWorkerProcessArguments?)
public static bool operator ==(AdapterWorkerProcessArguments? left, AdapterWorkerProcessArguments? right)
Parameters
Returns
operator !=(AdapterWorkerProcessArguments?, AdapterWorkerProcessArguments?)
public static bool operator !=(AdapterWorkerProcessArguments? left, AdapterWorkerProcessArguments? right)