C# Class YamlDotNet.Helpers.GenericCollectionToNonGenericAdapter

Adapts an System.Collections.Generic.ICollection{T} to IList because not all generic collections implement IList.
Inheritance: IList
Afficher le fichier Open project: aaubry/YamlDotNet Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Add ( object value ) : int
value object
Résultat int

Clear() public méthode

public Clear ( ) : void
Résultat void

Contains() public méthode

public Contains ( object value ) : bool
value object
Résultat bool

CopyTo() public méthode

public CopyTo ( Array array, int index ) : void
array System.Array
index int
Résultat void

GenericCollectionToNonGenericAdapter() public méthode

public GenericCollectionToNonGenericAdapter ( object genericCollection, Type genericCollectionType, Type genericListType ) : System
genericCollection object
genericCollectionType System.Type
genericListType System.Type
Résultat System

GetEnumerator() public méthode

public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

IndexOf() public méthode

public IndexOf ( object value ) : int
value object
Résultat int

Insert() public méthode

public Insert ( int index, object value ) : void
index int
value object
Résultat void

Remove() public méthode

public Remove ( object value ) : void
value object
Résultat void

RemoveAt() public méthode

public RemoveAt ( int index ) : void
index int
Résultat void

this() public méthode

public this ( int index ) : object
index int
Résultat object