public void LoadDatabase() { string itemsToRecognizerTypeMapDatabasePath = Path.Combine(DATABASE_DIRECTORY_NAME, ITEMS_TO_RECOGNIZER_TYPE_MAP_NAME); mItemToRecognizerTypeDictionary = SerializationMachine.LoadDictionaryFromDB <IItemInfo, string>(itemsToRecognizerTypeMapDatabasePath); }
public void LoadDatabase() { string itemsToCategoryMapDatabasePath = Path.Combine(DATABASE_DIRECTORY_NAME, ITEMS_TO_Category_MAP_NAME); mItemToCategoryDictionary = SerializationMachine.LoadDictionaryFromDB <IItemInfo, string>(itemsToCategoryMapDatabasePath); }
public void LoadDatabases() { string itemsToRecognizerTypeMapDatabasePath = Path.Combine(mDatabaseDirectoryName, ITEMS_TO_RECOGNIZER_TYPE_MAP_NAME); mItemToRecognizerTypeDictionary = SerializationMachine. LoadDictionaryFromDB <IItemInfo, ItemRecognizeData>(itemsToRecognizerTypeMapDatabasePath); }
private void LoadDatabases() { // Saves items. mItemsDictionary = SerializationMachine.LoadDictionaryFromDB <string, IItemInfo>(mItemsDBPath); // Load ItemToRecognizerDataMap. ItemToRecognizeDataMap.LoadDatabases(); }
public void LoadDatabase() { string itemsDatabasePath = Path.Combine(DATABASE_DIRECTORY_NAME, ITEMS_DATA_BASE_NAME); mMicrowaveItemsDictionary = SerializationMachine.LoadDictionaryFromDB <string, IItemInfo>(itemsDatabasePath); mItemToCategoryMap.LoadDatabase(); ItemToRecognizerTypeMap.LoadDatabase(); }