C# Класс DataMigration.AbstractBaseLookup

A base class for lookups that can use a C# Dictionary object for their implementation. Child classes usually just implement Init() to populate the Dictionary.
Наследование: ILookup
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
LookupValues string>.Dictionary

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

Метод Описание
ContainsKey ( string key ) : bool

Returns true if the Lookup contains the key, false otherwise.

Init ( ) : void

This is essentially a two-phase ctor. The sequence of construction is, instantiate the lookup, then set its properties, then call Init() so it can migrate the property values to their implementation-specific roles. In this abstract class, it is unimplemented, and must be provided by child classes.

LookupValue ( string key ) : string

Returns the value associated with this key.

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

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

Returns true if the Lookup contains the key, false otherwise.
public ContainsKey ( string key ) : bool
key string
Результат bool

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

This is essentially a two-phase ctor. The sequence of construction is, instantiate the lookup, then set its properties, then call Init() so it can migrate the property values to their implementation-specific roles. In this abstract class, it is unimplemented, and must be provided by child classes.
public Init ( ) : void
Результат void

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

Returns the value associated with this key.
public LookupValue ( string key ) : string
key string Key.
Результат string

Описание свойств

LookupValues защищенное свойство

The lookup values used to implement ILookup.
protected Dictionary LookupValues
Результат string>.Dictionary