C# Class FlipperDotNet.RedisAdapter.RedisAdapter

Inheritance: IAdapter
显示文件 Open project: paybyphone/flipperdotnet Class Usage Examples

Public Methods

Method Description
Add ( Feature feature ) : void
Clear ( Feature feature ) : void
Disable ( Feature feature, IGate gate, object thing ) : void
Enable ( Feature feature, IGate gate, object thing ) : void
Get ( Feature feature ) : object>.IDictionary
RedisAdapter ( IDatabase database ) : System
Remove ( Feature feature ) : void

Private Methods

Method Description
Clear ( IDatabaseAsync database, Feature feature ) : Task
ToField ( IGate gate, object thing ) : string
UnsupportedDataType ( IGate gate ) : void
ValuesForSetGate ( IEnumerable fields, IGate gate ) : ISet

Method Details

Add() public method

public Add ( Feature feature ) : void
feature Feature
return void

Clear() public method

public Clear ( Feature feature ) : void
feature Feature
return void

Disable() public method

public Disable ( Feature feature, IGate gate, object thing ) : void
feature Feature
gate IGate
thing object
return void

Enable() public method

public Enable ( Feature feature, IGate gate, object thing ) : void
feature Feature
gate IGate
thing object
return void

Get() public method

public Get ( Feature feature ) : object>.IDictionary
feature Feature
return object>.IDictionary

RedisAdapter() public method

public RedisAdapter ( IDatabase database ) : System
database IDatabase
return System

Remove() public method

public Remove ( Feature feature ) : void
feature Feature
return void