C# Class SensorbergSDKTests.Mocks.MockStorage

Inheritance: IStorage
Datei anzeigen Open project: sensorberg-dev/windows10-sdk Class Usage Examples

Public Methods

Method Description
CleanDatabase ( ) : System.Threading.Tasks.Task
CleanupDatabase ( ) : System.Threading.Tasks.Task
GetAction ( string uuid ) : Task
GetActions ( string uuid ) : Task>
GetActionsForForeground ( bool doNotDelete = false ) : Task>
GetDelayedActions ( ) : Task>
GetLastEventStateForBeacon ( string pid ) : Task
GetUndeliveredActions ( ) : Task>
GetUndeliveredEvents ( ) : Task>
InitStorage ( ) : System.Threading.Tasks.Task
SaveActionForForeground ( BeaconAction beaconAction ) : System.Threading.Tasks.Task
SaveBeaconEventState ( string pid, BeaconEventType enter ) : Task
SaveDelayedAction ( ResolvedAction action, DateTimeOffset dueTime, string beaconPid, BeaconEventType eventType, string location ) : Task
SaveHistoryAction ( BeaconAction beaconAction ) : System.Threading.Tasks.Task
SaveHistoryAction ( HistoryAction action ) : Task
SaveHistoryEvents ( HistoryEvent he ) : Task
SetActionsAsDelivered ( IList sendActions ) : System.Threading.Tasks.Task
SetDelayedActionAsExecuted ( string uuid ) : System.Threading.Tasks.Task
SetEventsAsDelivered ( IList e ) : System.Threading.Tasks.Task

Method Details

CleanDatabase() public method

public CleanDatabase ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

CleanupDatabase() public method

public CleanupDatabase ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

GetAction() public method

public GetAction ( string uuid ) : Task
uuid string
return Task

GetActions() public method

public GetActions ( string uuid ) : Task>
uuid string
return Task>

GetActionsForForeground() public method

public GetActionsForForeground ( bool doNotDelete = false ) : Task>
doNotDelete bool
return Task>

GetDelayedActions() public method

public GetDelayedActions ( ) : Task>
return Task>

GetLastEventStateForBeacon() public method

public GetLastEventStateForBeacon ( string pid ) : Task
pid string
return Task

GetUndeliveredActions() public method

public GetUndeliveredActions ( ) : Task>
return Task>

GetUndeliveredEvents() public method

public GetUndeliveredEvents ( ) : Task>
return Task>

InitStorage() public method

public InitStorage ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

SaveActionForForeground() public method

public SaveActionForForeground ( BeaconAction beaconAction ) : System.Threading.Tasks.Task
beaconAction SensorbergSDK.BeaconAction
return System.Threading.Tasks.Task

SaveBeaconEventState() public method

public SaveBeaconEventState ( string pid, BeaconEventType enter ) : Task
pid string
enter BeaconEventType
return Task

SaveDelayedAction() public method

public SaveDelayedAction ( ResolvedAction action, DateTimeOffset dueTime, string beaconPid, BeaconEventType eventType, string location ) : Task
action SensorbergSDK.Internal.Transport.ResolvedAction
dueTime DateTimeOffset
beaconPid string
eventType BeaconEventType
location string
return Task

SaveHistoryAction() public method

public SaveHistoryAction ( BeaconAction beaconAction ) : System.Threading.Tasks.Task
beaconAction SensorbergSDK.BeaconAction
return System.Threading.Tasks.Task

SaveHistoryAction() public method

public SaveHistoryAction ( HistoryAction action ) : Task
action SensorbergSDK.Internal.Data.HistoryAction
return Task

SaveHistoryEvents() public method

public SaveHistoryEvents ( HistoryEvent he ) : Task
he SensorbergSDK.Internal.Data.HistoryEvent
return Task

SetActionsAsDelivered() public method

public SetActionsAsDelivered ( IList sendActions ) : System.Threading.Tasks.Task
sendActions IList
return System.Threading.Tasks.Task

SetDelayedActionAsExecuted() public method

public SetDelayedActionAsExecuted ( string uuid ) : System.Threading.Tasks.Task
uuid string
return System.Threading.Tasks.Task

SetEventsAsDelivered() public method

public SetEventsAsDelivered ( IList e ) : System.Threading.Tasks.Task
e IList
return System.Threading.Tasks.Task