Class IndexedDBAdapter
Represents an adapter for the IndexedDB domain to simplify the command interface.
public class IndexedDBAdapter
- Inheritance
-
IndexedDBAdapter
- Inherited Members
Constructors
IndexedDBAdapter(IDevToolsSession)
Initializes a new instance of the IndexedDBAdapter class.
public IndexedDBAdapter(IDevToolsSession session)
Parameters
session
IDevToolsSessionThe IDevToolsSession to be used with this adapter.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }
Property Value
Methods
ClearObjectStore(ClearObjectStoreCommandSettings, CancellationToken, int?, bool)
clearObjectStore
public Task<ClearObjectStoreCommandResponse> ClearObjectStore(ClearObjectStoreCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ClearObjectStoreCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
DeleteDatabase(DeleteDatabaseCommandSettings, CancellationToken, int?, bool)
deleteDatabase
public Task<DeleteDatabaseCommandResponse> DeleteDatabase(DeleteDatabaseCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DeleteDatabaseCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
DeleteObjectStoreEntries(DeleteObjectStoreEntriesCommandSettings, CancellationToken, int?, bool)
deleteObjectStoreEntries
public Task<DeleteObjectStoreEntriesCommandResponse> DeleteObjectStoreEntries(DeleteObjectStoreEntriesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DeleteObjectStoreEntriesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Disable(DisableCommandSettings, CancellationToken, int?, bool)
disable
public Task<DisableCommandResponse> Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DisableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Enable(EnableCommandSettings, CancellationToken, int?, bool)
enable
public Task<EnableCommandResponse> Enable(EnableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
EnableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetMetadata(GetMetadataCommandSettings, CancellationToken, int?, bool)
getMetadata
public Task<GetMetadataCommandResponse> GetMetadata(GetMetadataCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetMetadataCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RequestData(RequestDataCommandSettings, CancellationToken, int?, bool)
requestData
public Task<RequestDataCommandResponse> RequestData(RequestDataCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RequestDataCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RequestDatabase(RequestDatabaseCommandSettings, CancellationToken, int?, bool)
requestDatabase
public Task<RequestDatabaseCommandResponse> RequestDatabase(RequestDatabaseCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RequestDatabaseCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RequestDatabaseNames(RequestDatabaseNamesCommandSettings, CancellationToken, int?, bool)
requestDatabaseNames
public Task<RequestDatabaseNamesCommandResponse> RequestDatabaseNames(RequestDatabaseNamesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RequestDatabaseNamesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool