C# Class HA4IoT.PersonalAgent.SynonymServiceStorage

ファイルを表示 Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Public Methods

Method Description
ConvertAreaSynonymsToJsonObject ( Dictionary synonyms ) : Newtonsoft.Json.Linq.JObject
ConvertComponentStateSynonymsToJsonArray ( Dictionary synonyms ) : Newtonsoft.Json.Linq.JArray
ConvertComponentSynonymsToJsonObject ( Dictionary synonyms ) : Newtonsoft.Json.Linq.JObject
LoadAreaSynonymsTo ( Dictionary target ) : void
LoadComponentSynonymsTo ( Dictionary target ) : void
PersistAreaSynonyms ( Dictionary synonyms ) : void
PersistComponentStateSynonyms ( Dictionary synonyms ) : void
PersistComponentSynonyms ( Dictionary synonyms ) : void
SynonymServiceStorage ( ) : System

Private Methods

Method Description
ConvertJsonArrayToSynonyms ( Newtonsoft.Json.Linq.JArray source ) : HashSet
ConvertSynonymsToJsonArray ( HashSet synonyms ) : Newtonsoft.Json.Linq.JArray

Method Details

ConvertAreaSynonymsToJsonObject() public method

public ConvertAreaSynonymsToJsonObject ( Dictionary synonyms ) : Newtonsoft.Json.Linq.JObject
synonyms Dictionary
return Newtonsoft.Json.Linq.JObject

ConvertComponentStateSynonymsToJsonArray() public method

public ConvertComponentStateSynonymsToJsonArray ( Dictionary synonyms ) : Newtonsoft.Json.Linq.JArray
synonyms Dictionary
return Newtonsoft.Json.Linq.JArray

ConvertComponentSynonymsToJsonObject() public method

public ConvertComponentSynonymsToJsonObject ( Dictionary synonyms ) : Newtonsoft.Json.Linq.JObject
synonyms Dictionary
return Newtonsoft.Json.Linq.JObject

LoadAreaSynonymsTo() public method

public LoadAreaSynonymsTo ( Dictionary target ) : void
target Dictionary
return void

LoadComponentSynonymsTo() public method

public LoadComponentSynonymsTo ( Dictionary target ) : void
target Dictionary
return void

PersistAreaSynonyms() public method

public PersistAreaSynonyms ( Dictionary synonyms ) : void
synonyms Dictionary
return void

PersistComponentStateSynonyms() public method

public PersistComponentStateSynonyms ( Dictionary synonyms ) : void
synonyms Dictionary
return void

PersistComponentSynonyms() public method

public PersistComponentSynonyms ( Dictionary synonyms ) : void
synonyms Dictionary
return void

SynonymServiceStorage() public method

public SynonymServiceStorage ( ) : System
return System