Class WarnUseOfUnknown<T>
Object which should be used in the DI of Unknown implementations.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class WarnUseOfUnknown<T>
Type Parameters
TThe type of the unknown implementation.
- Inheritance
-
objectWarnUseOfUnknown<T>
Constructors
WarnUseOfUnknown(ILogStore)
Constructor, which will trigger the warning and add it to the logs.
public WarnUseOfUnknown(ILogStore logStore)
Parameters
logStoreILogStoreThe log store to which the warning will be added.
Remarks
This object will remember that it was already triggered once, so it won't repeat the warning for the same type.