C# Class Rock.CheckIn.KioskDevice

Afficher le fichier Open project: SparkDevNetwork/Rock Class Usage Examples

Private Properties

Свойство Type Description
CacheKey string
KioskDevice System
KioskDevice System
LoadKioskLocations void
LoadKioskLocations void

Méthodes publiques

Méthode Description
ActiveGroupTypes ( List configuredGroupTypes ) : List

Subset of the KioskGroupTypes that are configured and currently active or check in.

FilteredGroupTypes ( List configuredGroupTypes ) : List

Subset of the KioskGroupTypes

Flush ( int id ) : void

Flushes the specified id.

FlushAll ( ) : void

Flushes all.

HasActiveLocations ( List configuredGroupTypes ) : bool

Gets a value indicating whether this instance has active locations.

HasLocations ( List configuredGroupTypes ) : bool

Gets a value indicating whether this instance has active locations.

Locations ( List configuredGroupTypes, RockContext rockContext ) : IEnumerable

returns the locations for this Kiosk for the configured group types

Read ( int id, List configuredGroupTypes ) : KioskDevice

Reads the device by id.

Private Methods

Méthode Description
CacheKey ( int id ) : string

Caches the key.

KioskDevice ( ) : System

Prevents a default instance of the KioskDevice class from being created.

KioskDevice ( Device device ) : System

Prevents a default instance of the KioskDevice class from being created.

LoadKioskLocations ( KioskDevice kioskDevice, Location location, int>.Dictionary campusLocations, RockContext rockContext ) : void

Loads the kiosk locations.

LoadKioskLocations ( KioskDevice kioskDevice, Location location, int campusId, RockContext rockContext ) : void

Loads the kiosk locations.

Method Details

ActiveGroupTypes() public méthode

Subset of the KioskGroupTypes that are configured and currently active or check in.
public ActiveGroupTypes ( List configuredGroupTypes ) : List
configuredGroupTypes List The configured group types.
Résultat List

FilteredGroupTypes() public méthode

Subset of the KioskGroupTypes
public FilteredGroupTypes ( List configuredGroupTypes ) : List
configuredGroupTypes List The current group types.
Résultat List

Flush() public static méthode

Flushes the specified id.
public static Flush ( int id ) : void
id int The id.
Résultat void

FlushAll() public static méthode

Flushes all.
public static FlushAll ( ) : void
Résultat void

HasActiveLocations() public méthode

Gets a value indicating whether this instance has active locations.
public HasActiveLocations ( List configuredGroupTypes ) : bool
configuredGroupTypes List
Résultat bool

HasLocations() public méthode

Gets a value indicating whether this instance has active locations.
public HasLocations ( List configuredGroupTypes ) : bool
configuredGroupTypes List
Résultat bool

Locations() public méthode

returns the locations for this Kiosk for the configured group types
public Locations ( List configuredGroupTypes, RockContext rockContext ) : IEnumerable
configuredGroupTypes List The configured group types.
rockContext RockContext The rock context.
Résultat IEnumerable

Read() public static méthode

Reads the device by id.
public static Read ( int id, List configuredGroupTypes ) : KioskDevice
id int The id.
configuredGroupTypes List The configured group types.
Résultat KioskDevice