C# Class SensorbergSDK.Internal.Data.FileStorageHelper

ファイルを表示 Open project: sensorberg-dev/windows10-sdk Class Usage Examples

Public Methods

Method Description
ActionFromString ( string s ) : HistoryAction

Parse the given string to a HistoryAction.

ActionToString ( HistoryAction historyAction ) : string
ActionToString ( string uuid, string beaconPid, DateTimeOffset timestamp, BeaconEventType beaconEventType, string location ) : string
ActionsFromStrings ( IList strings ) : List
ActionsToString ( List fileActions ) : string
BackoundEventsFromString ( string s ) : Dictionary>
BackoundEventsToString ( long>.Dictionary dic ) : string
BeaconActionFromString ( string s ) : BeaconAction
BeaconActionToString ( BeaconAction action ) : string
BeaconEventStateFromString ( string s ) : BackgroundEvent
BeaconEventStateToString ( string pid, BeaconEventType type, DateTimeOffset now ) : string
DelayedActionFromHelper ( DelayedActionHelper delayedActionHelper ) : DelayedActionData
DelayedActionToString ( DelayedActionHelper delayedActionHelper ) : string
DelayedActionToString ( ResolvedAction action, DateTimeOffset dueTime, string beaconPid, BeaconEventType beaconEventType, System.Guid guid, string location ) : string
DelayedActionToString ( ResolvedAction action, DateTimeOffset dueTime, string beaconPid, BeaconEventType beaconEventType, string location ) : string
DelayedActionToString ( string action, DateTimeOffset dueTime, bool executed, string guid, string location ) : string
DelayedActionsFromStrings ( IList strings ) : List
EventFromString ( string s ) : HistoryEvent

Parse the given string to a HistoryEvent.

EventToString ( HistoryEvent he ) : string

Creates from the given parameters a string.

EventsFromStrings ( IList strings ) : List

Parses the list of strings to a List of HistoryEvents.

SimpleDelayedActionFromString ( string s ) : DelayedActionHelper
ToHistoryAction ( string uuid, string beaconPid, DateTimeOffset now, BeaconEventType beaconEventType, string location ) : HistoryAction
ToHistoryEvent ( string pid, DateTimeOffset timestamp, BeaconEventType eventType, string location ) : HistoryEvent

Private Methods

Method Description
ActionToString ( string uuid, string beaconPid, DateTimeOffset timestamp, int beaconEventType, bool delivered, bool background, string location ) : string

Method Details

ActionFromString() public static method

Parse the given string to a HistoryAction.
public static ActionFromString ( string s ) : HistoryAction
s string Comma separated string representing a HistoryAction.
return HistoryAction

ActionToString() public static method

public static ActionToString ( HistoryAction historyAction ) : string
historyAction HistoryAction
return string

ActionToString() public static method

public static ActionToString ( string uuid, string beaconPid, DateTimeOffset timestamp, BeaconEventType beaconEventType, string location ) : string
uuid string
beaconPid string
timestamp DateTimeOffset
beaconEventType BeaconEventType
location string
return string

ActionsFromStrings() public static method

public static ActionsFromStrings ( IList strings ) : List
strings IList
return List

ActionsToString() public static method

public static ActionsToString ( List fileActions ) : string
fileActions List
return string

BackoundEventsFromString() public static method

public static BackoundEventsFromString ( string s ) : Dictionary>
s string
return Dictionary>

BackoundEventsToString() public static method

public static BackoundEventsToString ( long>.Dictionary dic ) : string
dic long>.Dictionary
return string

BeaconActionFromString() public static method

public static BeaconActionFromString ( string s ) : BeaconAction
s string
return BeaconAction

BeaconActionToString() public static method

public static BeaconActionToString ( BeaconAction action ) : string
action BeaconAction
return string

BeaconEventStateFromString() public static method

public static BeaconEventStateFromString ( string s ) : BackgroundEvent
s string
return BackgroundEvent

BeaconEventStateToString() public static method

public static BeaconEventStateToString ( string pid, BeaconEventType type, DateTimeOffset now ) : string
pid string
type BeaconEventType
now DateTimeOffset
return string

DelayedActionFromHelper() public static method

public static DelayedActionFromHelper ( DelayedActionHelper delayedActionHelper ) : DelayedActionData
delayedActionHelper DelayedActionHelper
return DelayedActionData

DelayedActionToString() public static method

public static DelayedActionToString ( DelayedActionHelper delayedActionHelper ) : string
delayedActionHelper DelayedActionHelper
return string

DelayedActionToString() public static method

public static DelayedActionToString ( ResolvedAction action, DateTimeOffset dueTime, string beaconPid, BeaconEventType beaconEventType, System.Guid guid, string location ) : string
action SensorbergSDK.Internal.Transport.ResolvedAction
dueTime DateTimeOffset
beaconPid string
beaconEventType BeaconEventType
guid System.Guid
location string
return string

DelayedActionToString() public static method

public static DelayedActionToString ( ResolvedAction action, DateTimeOffset dueTime, string beaconPid, BeaconEventType beaconEventType, string location ) : string
action SensorbergSDK.Internal.Transport.ResolvedAction
dueTime DateTimeOffset
beaconPid string
beaconEventType BeaconEventType
location string
return string

DelayedActionToString() public static method

public static DelayedActionToString ( string action, DateTimeOffset dueTime, bool executed, string guid, string location ) : string
action string
dueTime DateTimeOffset
executed bool
guid string
location string
return string

DelayedActionsFromStrings() public static method

public static DelayedActionsFromStrings ( IList strings ) : List
strings IList
return List

EventFromString() public static method

Parse the given string to a HistoryEvent.
public static EventFromString ( string s ) : HistoryEvent
s string Comma separated string representing a HistoryEvent.
return HistoryEvent

EventToString() public static method

Creates from the given parameters a string.
public static EventToString ( HistoryEvent he ) : string
he HistoryEvent Historyevent to convert.
return string

EventsFromStrings() public static method

Parses the list of strings to a List of HistoryEvents.
public static EventsFromStrings ( IList strings ) : List
strings IList List of string representing a HistoryEvent.
return List

SimpleDelayedActionFromString() public static method

public static SimpleDelayedActionFromString ( string s ) : DelayedActionHelper
s string
return DelayedActionHelper

ToHistoryAction() public static method

public static ToHistoryAction ( string uuid, string beaconPid, DateTimeOffset now, BeaconEventType beaconEventType, string location ) : HistoryAction
uuid string
beaconPid string
now DateTimeOffset
beaconEventType BeaconEventType
location string
return HistoryAction

ToHistoryEvent() public static method

public static ToHistoryEvent ( string pid, DateTimeOffset timestamp, BeaconEventType eventType, string location ) : HistoryEvent
pid string
timestamp DateTimeOffset
eventType BeaconEventType
location string
return HistoryEvent