ProcessEnricherServiceCollectionExtensions 类

定义

提供用于在 中 IServiceCollection设置进程扩充器的扩展方法。

public ref class ProcessEnricherServiceCollectionExtensions abstract sealed
public static class ProcessEnricherServiceCollectionExtensions
type ProcessEnricherServiceCollectionExtensions = class
Public Module ProcessEnricherServiceCollectionExtensions
继承
ProcessEnricherServiceCollectionExtensions

方法

AddProcessLogEnricher(IServiceCollection)

将进程扩充器实例添加到 。IServiceCollection

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

将进程扩充器实例添加到 。IServiceCollection

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

将主机扩充器实例添加到 。IServiceCollection

适用于