C# Класс DivineRightGame.ItemFactory.Object.MultiDictionary

A 'dictionary' which accepts duplicate keys. If a key is duplicate, it will pick a random value which has that key. This is slower than a real dictionary obviously.
Показать файл Открыть проект

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

Метод Описание
Add ( string key, List stringList ) : void

Adds an item to the MultiDictionary

MultiDictionary ( ) : System
this ( string key ) : List

Gets the item with the particular key. If the key is not found it will return null If more than one item has the same key, it will return one at random

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

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

Adds an item to the MultiDictionary
public Add ( string key, List stringList ) : void
key string
stringList List
Результат void

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

public MultiDictionary ( ) : System
Результат System

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

Gets the item with the particular key. If the key is not found it will return null If more than one item has the same key, it will return one at random
public this ( string key ) : List
key string
Результат List