C# Класс Castle.MonoRail.Framework.Internal.ResourceDictionary

Simple strong typed dictionary for IResource instances.
Наследование: ICollection
Показать файл Открыть проект

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

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

Adds the specified key.

Clear ( ) : void

Clears this instance.

Contains ( object key ) : bool

Determines whether the resource contains the specified key.

CopyTo ( Array array, int index ) : void

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

Remove ( object key ) : void

Removes the specified key.

this ( object key ) : IResource

Gets or sets the Castle.MonoRail.Framework.IResource with the specified key.

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

Метод Описание
System ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

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

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

Adds the specified key.
public Add ( object key, IResource resource ) : void
key object The key.
resource IResource The resource.
Результат void

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

Clears this instance.
public Clear ( ) : void
Результат void

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

Determines whether the resource contains the specified key.
public Contains ( object key ) : bool
key object The key.
Результат bool

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

Copies the elements of the to an , starting at a particular index.
array is null. 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. The type of the source cannot be cast automatically to the type of the destination array.
public CopyTo ( Array array, int index ) : void
array 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

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

Removes the specified key.
public Remove ( object key ) : void
key object The key.
Результат void

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

Gets or sets the Castle.MonoRail.Framework.IResource with the specified key.
public this ( object key ) : IResource
key object
Результат IResource