Class LogAdapter
Represents an adapter for the Log domain to simplify the command interface.
public class LogAdapter- Inheritance
- 
      
      LogAdapter
- Inherited Members
Constructors
LogAdapter(IDevToolsSession)
Initializes a new instance of the LogAdapter class.
public LogAdapter(IDevToolsSession session)Parameters
- sessionIDevToolsSession
- The IDevToolsSession to be used with this adapter. 
Exceptions
- ArgumentNullException
- If - sessionis null.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }Property Value
Methods
Clear(ClearCommandSettings?, CancellationToken, int?, bool)
clear
public Task<ClearCommandResponse?> Clear(ClearCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandClearCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
Disable(DisableCommandSettings?, CancellationToken, int?, bool)
disable
public Task<DisableCommandResponse?> Disable(DisableCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandDisableCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
Enable(EnableCommandSettings?, CancellationToken, int?, bool)
enable
public Task<EnableCommandResponse?> Enable(EnableCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandEnableCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
StartViolationsReport(StartViolationsReportCommandSettings, CancellationToken, int?, bool)
startViolationsReport
public Task<StartViolationsReportCommandResponse?> StartViolationsReport(StartViolationsReportCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandStartViolationsReportCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
StopViolationsReport(StopViolationsReportCommandSettings?, CancellationToken, int?, bool)
stopViolationsReport
public Task<StopViolationsReportCommandResponse?> StopViolationsReport(StopViolationsReportCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandStopViolationsReportCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
Events
EntryAdded
entryAdded
public event EventHandler<EntryAddedEventArgs>? EntryAdded