C# Класс FdoToolbox.Core.ETL.QuackingDictionary

Наследование: IDictionary
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
items IDictionary
lastAccess string

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

Метод Описание
Add ( object key, object value ) : void

Adds an element with the provided key and value to the object.

Clear ( ) : void

Removes all elements from the object.

Contains ( object key ) : bool

Determines whether the object contains an element with the specified key.

CopyTo ( Array array, int index ) : void

Copies the elements of the to an , starting at a particular index.

GetEnumerator ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

QuackGet ( string name, object parameters ) : object

Get a value by name or first parameter

QuackInvoke ( string name ) : object

Not supported

QuackSet ( string name, object parameters, object value ) : object

Set a value on the given name or first parameter

QuackingDictionary ( IDictionary items ) : System

Initializes a new instance of the QuackingDictionary class.

Remove ( object key ) : void

Removes the element with the specified key from the object.

ShouldThrowIfKeyNotFound ( ) : void

Set the flag to thorw if key not found.

ToString ( ) : string

Returns a T:System.String that represents the current T:System.Object.

this ( object key ) : object

Gets or sets the element with the specified key.

this ( string key ) : object

Gets or sets the System.Object with the specified key.

Приватные методы

Метод Описание
IDictionary ( ) : IDictionaryEnumerator

Returns an object for the object.

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

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

Adds an element with the provided key and value to the object.
An element with the same key already exists in the object. key is null. The is read-only.-or- The has a fixed size.
public Add ( object key, object value ) : void
key object The to use as the key of the element to add.
value object The to use as the value of the element to add.
Результат void

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

Removes all elements from the object.
The object is read-only.
public Clear ( ) : void
Результат void

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

Determines whether the object contains an element with the specified key.
key is null.
public Contains ( object key ) : bool
key object The key to locate in the object.
Результат bool

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

Copies the elements of the to an , starting at a particular index.
array is null. The type of the source cannot be cast automatically to the type of the destination array. index is less than zero. array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of elements in the source is greater than the available space from index to the end of the destination array.
public CopyTo ( Array array, int index ) : void
array System.Array The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
index int The zero-based index in array at which copying begins.
Результат void

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

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

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

Get a value by name or first parameter
public QuackGet ( string name, object parameters ) : object
name string
parameters object
Результат object

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

Not supported
public QuackInvoke ( string name ) : object
name string
Результат object

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

Set a value on the given name or first parameter
public QuackSet ( string name, object parameters, object value ) : object
name string
parameters object
value object
Результат object

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

Initializes a new instance of the QuackingDictionary class.
public QuackingDictionary ( IDictionary items ) : System
items IDictionary The items.
Результат System

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

Removes the element with the specified key from the object.
The object is read-only.-or- The has a fixed size. key is null.
public Remove ( object key ) : void
key object The key of the element to remove.
Результат void

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

Set the flag to thorw if key not found.
public ShouldThrowIfKeyNotFound ( ) : void
Результат void

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

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
Результат string

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

Gets or sets the element with the specified key.
The property is set and the object is read-only.-or- The property is set, key does not exist in the collection, and the has a fixed size. key is null.
public this ( object key ) : object
key object The key of the element to get or set.
Результат object

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

Gets or sets the System.Object with the specified key.
public this ( string key ) : object
key string
Результат object

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

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

The inner items collection
protected IDictionary items
Результат IDictionary

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

The last item that was access, useful for debugging
protected string lastAccess
Результат string