C# 클래스 DevDefined.OAuth.Utility.ReflectionBasedDictionaryAdapter

Pendent
상속: IDictionary
파일 보기 프로젝트 열기: zyncro/csharp-api-sample

공개 메소드들

메소드 설명
Add ( object key, object value ) : void

Adds an element with the provided key and value to the T:System.Collections.IDictionary object.

Clear ( ) : void

Removes all elements from the T:System.Collections.IDictionary object.

Contains ( object key ) : bool

Determines whether the T:System.Collections.IDictionary object contains an element with the specified key.

CopyTo ( Array array, int index ) : void

Copies the elements of the T:System.Collections.ICollection to an T:System.Array, starting at a particular T:System.Array index.

GetEnumerator ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

ReflectionBasedDictionaryAdapter ( object target ) : System

Initializes a new instance of the ReflectionBasedDictionaryAdapter class.

Remove ( object key ) : void

Removes the element with the specified key from the T:System.Collections.IDictionary object.

this ( object key ) : object

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

비공개 메소드들

메소드 설명
IDictionary ( ) : IDictionaryEnumerator

Returns an T:System.Collections.IDictionaryEnumerator object for the T:System.Collections.IDictionary object.

메소드 상세

Add() 공개 메소드

Adds an element with the provided key and value to the T:System.Collections.IDictionary object.
/// is null. An element with the same key already exists in the object. 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 T:System.Collections.IDictionary object.
The object is read-only.
public Clear ( ) : void
리턴 void

Contains() 공개 메소드

Determines whether the T:System.Collections.IDictionary object contains an element with the specified key.
/// is null.
public Contains ( object key ) : bool
key object The key to locate in the object.
리턴 bool

CopyTo() 공개 메소드

Copies the elements of the T:System.Collections.ICollection to an T:System.Array, starting at a particular T:System.Array index.
/// is null. /// is less than zero. /// is multidimensional.-or- is equal to or greater than the length of .-or- The number of elements in the source is greater than the available space from to the end of the destination . The type of the source cannot be cast automatically to the type of the destination .
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 at which copying begins.
리턴 void

GetEnumerator() 공개 메소드

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

ReflectionBasedDictionaryAdapter() 공개 메소드

Initializes a new instance of the ReflectionBasedDictionaryAdapter class.
public ReflectionBasedDictionaryAdapter ( object target ) : System
target object The target.
리턴 System

Remove() 공개 메소드

Removes the element with the specified key from the T:System.Collections.IDictionary object.
/// is null. The object is read-only.-or- The has a fixed size.
public Remove ( object key ) : void
key object The key of the element to remove.
리턴 void

this() 공개 메소드

Gets or sets the System.Object with the specified key.
public this ( object key ) : object
key object
리턴 object