Skip to content

ServiceDescriptorScanReportEntry Methods

RecordMethods8 members
Describes one service descriptor produced by a service descriptor scan.
public record ServiceDescriptorScanReportEntry
{
public ServiceDescriptorScanReportEntry <Clone>$()
{
// ...
}
}
Deconstruct(ServiceLifetime, string, string)Section titled Deconstruct(ServiceLifetime, string, string)
public record ServiceDescriptorScanReportEntry
{
public void Deconstruct(
out ServiceLifetime ServiceLifetime,
out string ServiceTypeName,
out string ImplementationTypeName)
{
// ...
}
}
ServiceLifetimeServiceLifetime
ServiceTypeNamestring
ImplementationTypeNamestring
Equals(object?)Section titled Equals(object?)overridebool
Determines whether the specified object is equal to the current object.
public record ServiceDescriptorScanReportEntry
{
public override bool Equals(
object? obj)
{
// ...
}
}
objobject?The object to compare with the current object.
booltrue if the specified object is equal to the current object; otherwise, false.
Equals(ServiceDescriptorScanReportEntry?)Section titled Equals(ServiceDescriptorScanReportEntry?)bool
Indicates whether the current object is equal to another object of the same type.
public record ServiceDescriptorScanReportEntry
{
public bool Equals(
ServiceDescriptorScanReportEntry? other)
{
// ...
}
}
otherServiceDescriptorScanReportEntry?An object to compare with this object.
booltrue if the current object is equal to the other parameter; otherwise, false.
GetHashCodeSection titled GetHashCodeoverrideint
Serves as the default hash function.
public record ServiceDescriptorScanReportEntry
{
public override int GetHashCode()
{
// ...
}
}
intA hash code for the current object.
op_Equality(ServiceDescriptorScanReportEntry?, ServiceDescriptorScanReportEntry?)Section titled op_Equality(ServiceDescriptorScanReportEntry?, ServiceDescriptorScanReportEntry?)staticbool
public record ServiceDescriptorScanReportEntry
{
public static bool operator ==(
ServiceDescriptorScanReportEntry? left,
ServiceDescriptorScanReportEntry? right)
{
// ...
}
}
op_Inequality(ServiceDescriptorScanReportEntry?, ServiceDescriptorScanReportEntry?)Section titled op_Inequality(ServiceDescriptorScanReportEntry?, ServiceDescriptorScanReportEntry?)staticbool
public record ServiceDescriptorScanReportEntry
{
public static bool operator !=(
ServiceDescriptorScanReportEntry? left,
ServiceDescriptorScanReportEntry? right)
{
// ...
}
}
ToStringSection titled ToStringoverridestring
Returns a string that represents the current object.
public record ServiceDescriptorScanReportEntry
{
public override string ToString()
{
// ...
}
}
stringA string that represents the current object.