C# 클래스 Plugin.SecureStorage.Abstractions.SecureStorageImplementationBase

This base class provides validation functionality that is common across platforms
상속: ISecureStorage
파일 보기 프로젝트 열기: sameerkapps/SecureStorage

공개 메소드들

메소드 설명
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