DumpOptions
NexusLabs.Needlr¶
NexusLabs.Needlr¶
DumpOptions Class¶
Options for customizing the output of Dump(this IServiceCollection, DumpOptions).
Inheritance System.Object 🡒 DumpOptions
Implements System.IEquatable<DumpOptions>
Properties¶
DumpOptions.Default Property¶
Gets the default dump options with no filtering.
Property Value¶
DumpOptions.GroupByLifetime Property¶
Gets or sets whether to group registrations by lifetime in the output. Default is false.
Property Value¶
DumpOptions.LifetimeFilter Property¶
Gets or sets an optional filter to only include services with a specific lifetime. When null, all lifetimes are included.
public System.Nullable<Microsoft.Extensions.DependencyInjection.ServiceLifetime> LifetimeFilter { get; init; }
Property Value¶
System.Nullable<Microsoft.Extensions.DependencyInjection.ServiceLifetime>
DumpOptions.ServiceTypeFilter Property¶
Gets or sets an optional predicate to filter services by their service type. When null, all service types are included.