AsyncLazy<T>.IsValueCreated 属性

定义

获取一个值,该值指示是否已调用值工厂。

public:
 property bool IsValueCreated { bool get(); };
public:
 property bool IsValueCreated { bool get(); };
public bool IsValueCreated { get; }
member this.IsValueCreated : bool
Public ReadOnly Property IsValueCreated As Boolean

属性值

返回 Boolean

注解

这会在 false 调用 DisposeValue()后返回。

适用于