C# Класс Plugin.SecureStorage.Abstractions.SecureStorageImplementationBase

This base class provides validation functionality that is common across platforms
Наследование: ISecureStorage
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

DeleteKey() публичный Метод

Validates that key is not whitespace or null.
public DeleteKey ( string key ) : bool
key string
Результат bool

GetValue() публичный Метод

Validates the key
public GetValue ( string key, string defaultValue = null ) : string
key string Key.
defaultValue string Default value.
Результат string

HasKey() публичный Метод

Validates that key is not whitespace or null.
public HasKey ( string key ) : bool
key string
Результат bool

SecureStorageImplementationBase() публичный Метод

Default constructor
public SecureStorageImplementationBase ( ) : System
Результат System

SetValue() публичный Метод

Validates that key is not whitespace or null. And value is not null
public SetValue ( string key, string value ) : bool
key string
value string
Результат bool