C# Class YamlDotNet.Helpers.GenericCollectionToNonGenericAdapter

Adapts an System.Collections.Generic.ICollection{T} to IList because not all generic collections implement IList.
Inheritance: IList
ファイルを表示 Open project: aaubry/YamlDotNet Class Usage Examples

Public Methods

Method Description
Add ( object value ) : int
Clear ( ) : void
Contains ( object value ) : bool
CopyTo ( Array array, int index ) : void
GenericCollectionToNonGenericAdapter ( object genericCollection, Type genericCollectionType, Type genericListType ) : System
GetEnumerator ( ) : IEnumerator
IndexOf ( object value ) : int
Insert ( int index, object value ) : void
Remove ( object value ) : void
RemoveAt ( int index ) : void
this ( int index ) : object

Method Details

Add() public method

public Add ( object value ) : int
value object
return int

Clear() public method

public Clear ( ) : void
return void

Contains() public method

public Contains ( object value ) : bool
value object
return bool

CopyTo() public method

public CopyTo ( Array array, int index ) : void
array System.Array
index int
return void

GenericCollectionToNonGenericAdapter() public method

public GenericCollectionToNonGenericAdapter ( object genericCollection, Type genericCollectionType, Type genericListType ) : System
genericCollection object
genericCollectionType System.Type
genericListType System.Type
return System

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

IndexOf() public method

public IndexOf ( object value ) : int
value object
return int

Insert() public method

public Insert ( int index, object value ) : void
index int
value object
return void

Remove() public method

public Remove ( object value ) : void
value object
return void

RemoveAt() public method

public RemoveAt ( int index ) : void
index int
return void

this() public method

public this ( int index ) : object
index int
return object