Class BowireDiscoveryProbeResult
- Namespace
- Kuestenlogik.Bowire
- Assembly
- Kuestenlogik.Bowire.dll
What one RunAsync(BowireProtocolRegistry, string, string?, bool, TimeSpan, ILogger?, CancellationToken) pass produced: the merged services from every plugin that found something, plus one BowireDiscoveryAttempt per probed plugin regardless of outcome. Attempts is populated even when Services is not — that is the whole point.
public sealed record BowireDiscoveryProbeResult : IEquatable<BowireDiscoveryProbeResult>
- Inheritance
-
BowireDiscoveryProbeResult
- Implements
- Inherited Members
Constructors
BowireDiscoveryProbeResult(List<BowireServiceInfo>, List<BowireDiscoveryAttempt>)
What one RunAsync(BowireProtocolRegistry, string, string?, bool, TimeSpan, ILogger?, CancellationToken) pass produced: the merged services from every plugin that found something, plus one BowireDiscoveryAttempt per probed plugin regardless of outcome. Attempts is populated even when Services is not — that is the whole point.
public BowireDiscoveryProbeResult(List<BowireServiceInfo> Services, List<BowireDiscoveryAttempt> Attempts)
Parameters
ServicesList<BowireServiceInfo>AttemptsList<BowireDiscoveryAttempt>
Properties
Attempts
public List<BowireDiscoveryAttempt> Attempts { get; init; }
Property Value
Services
public List<BowireServiceInfo> Services { get; init; }
Property Value
Methods
Deconstruct(out List<BowireServiceInfo>, out List<BowireDiscoveryAttempt>)
public void Deconstruct(out List<BowireServiceInfo> Services, out List<BowireDiscoveryAttempt> Attempts)
Parameters
ServicesList<BowireServiceInfo>AttemptsList<BowireDiscoveryAttempt>
Equals(BowireDiscoveryProbeResult?)
public bool Equals(BowireDiscoveryProbeResult? other)
Parameters
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 ==(BowireDiscoveryProbeResult?, BowireDiscoveryProbeResult?)
public static bool operator ==(BowireDiscoveryProbeResult? left, BowireDiscoveryProbeResult? right)
Parameters
Returns
operator !=(BowireDiscoveryProbeResult?, BowireDiscoveryProbeResult?)
public static bool operator !=(BowireDiscoveryProbeResult? left, BowireDiscoveryProbeResult? right)