C# Class Plugin.SecureStorage.Abstractions.SecureStorageImplementationBase

This base class provides validation functionality that is common across platforms
Inheritance: ISecureStorage
Afficher le fichier Open project: sameerkapps/SecureStorage

Méthodes publiques

Méthode Description
DeleteKey ( string key ) : bool

Validates that key is not whitespace or null.

GetValue ( string key, string defaultValue = null ) : string

Validates the key

HasKey ( string key ) : bool

Validates that key is not whitespace or null.

SecureStorageImplementationBase ( ) : System

Default constructor

SetValue ( string key, string value ) : bool

Validates that key is not whitespace or null. And value is not null

Method Details

DeleteKey() public méthode

Validates that key is not whitespace or null.
public DeleteKey ( string key ) : bool
key string
Résultat bool

GetValue() public méthode

Validates the key
public GetValue ( string key, string defaultValue = null ) : string
key string Key.
defaultValue string Default value.
Résultat string

HasKey() public méthode

Validates that key is not whitespace or null.
public HasKey ( string key ) : bool
key string
Résultat bool

SecureStorageImplementationBase() public méthode

Default constructor
public SecureStorageImplementationBase ( ) : System
Résultat System

SetValue() public méthode

Validates that key is not whitespace or null. And value is not null
public SetValue ( string key, string value ) : bool
key string
value string
Résultat bool