LoggerExternalScopeProvider 类

定义

IExternalScopeProvider 的默认实现Default implementation of IExternalScopeProvider

public ref class LoggerExternalScopeProvider : Microsoft::Extensions::Logging::IExternalScopeProvider
public class LoggerExternalScopeProvider : Microsoft.Extensions.Logging.IExternalScopeProvider
type LoggerExternalScopeProvider = class
    interface IExternalScopeProvider
Public Class LoggerExternalScopeProvider
Implements IExternalScopeProvider
继承
LoggerExternalScopeProvider
实现

构造函数

LoggerExternalScopeProvider()

创建一个新的 LoggerExternalScopeProviderCreates a new LoggerExternalScopeProvider.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
ForEachScope<TState>(Action<Object,TState>, TState)

按创建顺序对每个当前活动的作用域对象执行回叫。Executes callback for each currently active scope objects in order of creation. 保证所有回叫都通过此方法进行内联调用。All callbacks are guaranteed to be called inline from this method.

GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
Push(Object)

向列表中添加作用域对象。Adds scope object to the list.

ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于