C# Class MongoDB.Bson.MaterializedOnDemandBsonArray

Inheritance: BsonArray, IDisposable
Afficher le fichier Open project: egametang/Egametang

Private Properties

Свойство Type Description
CopyTo void
EnsureIsMaterialized void

Méthodes publiques

Méthode Description
Add ( BsonValue value ) : BsonArray

Adds an element to the array.

AddRange ( IEnumerable values ) : BsonArray

Adds multiple elements to the array.

AddRange ( IEnumerable values ) : BsonArray

Adds multiple elements to the array.

AddRange ( IEnumerable values ) : BsonArray

Adds multiple elements to the array.

AddRange ( IEnumerable values ) : BsonArray

Adds multiple elements to the array.

AddRange ( IEnumerable values ) : BsonArray

Adds multiple elements to the array.

AddRange ( IEnumerable values ) : BsonArray

Adds multiple elements to the array.

AddRange ( IEnumerable values ) : BsonArray

Adds multiple elements to the array.

AddRange ( IEnumerable values ) : BsonArray

Adds multiple elements to the array.

AddRange ( IEnumerable values ) : BsonArray

Adds multiple elements to the array.

Clear ( ) : void

Clears the array.

Clone ( ) : BsonValue

Creates a shallow clone of the array (see also DeepClone).

CompareTo ( BsonArray other ) : int

Compares the array to another array.

CompareTo ( BsonValue other ) : int

Compares the array to another BsonValue.

Contains ( BsonValue value ) : bool

Tests whether the array contains a value.

CopyTo ( BsonValue array, int arrayIndex ) : void

Copies elements from this array to another array.

DeepClone ( ) : BsonValue

Creates a deep clone of the array (see also Clone).

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Equals ( object obj ) : bool

Determines whether the specified System.Object, is equal to this instance.

GetEnumerator ( ) : IEnumerator

Gets an enumerator that can enumerate the elements of the array.

GetHashCode ( ) : int

Gets the hash code.

IndexOf ( BsonValue value ) : int

Gets the index of a value in the array.

IndexOf ( BsonValue value, int index ) : int

Gets the index of a value in the array.

IndexOf ( BsonValue value, int index, int count ) : int

Gets the index of a value in the array.

Insert ( int index, BsonValue value ) : void

Inserts a new value into the array.

Remove ( BsonValue value ) : bool

Removes the first occurrence of a value from the array.

RemoveAt ( int index ) : void

Removes an element from the array.

ToArray ( ) : BsonValue[]

Converts the BsonArray to an array of BsonValues.

ToList ( ) : List

Converts the BsonArray to a list of BsonValues.

ToString ( ) : string

Returns a string representation of the array.

this ( int index ) : BsonValue

Gets or sets a value by position.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Materialize ( ) : IEnumerable

Materializes the BsonArray.

MaterializeCompleted ( ) : void

Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state.

MaterializedOnDemandBsonArray ( ) : System

Initializes a new instance of the MaterializedOnDemandBsonArray class.

ThrowIfDisposed ( ) : void

Throws if disposed.

Private Methods

Méthode Description
CopyTo ( object array, int arrayIndex ) : void
EnsureIsMaterialized ( ) : void

Method Details

Add() public méthode

Adds an element to the array.
public Add ( BsonValue value ) : BsonArray
value BsonValue The value to add to the array.
Résultat BsonArray

AddRange() public méthode

Adds multiple elements to the array.
public AddRange ( IEnumerable values ) : BsonArray
values IEnumerable A list of values to add to the array.
Résultat BsonArray

AddRange() public méthode

Adds multiple elements to the array.
public AddRange ( IEnumerable values ) : BsonArray
values IEnumerable A list of values to add to the array.
Résultat BsonArray

AddRange() public méthode

Adds multiple elements to the array.
public AddRange ( IEnumerable values ) : BsonArray
values IEnumerable A list of values to add to the array.
Résultat BsonArray

AddRange() public méthode

Adds multiple elements to the array.
public AddRange ( IEnumerable values ) : BsonArray
values IEnumerable A list of values to add to the array.
Résultat BsonArray

AddRange() public méthode

Adds multiple elements to the array.
public AddRange ( IEnumerable values ) : BsonArray
values IEnumerable A list of values to add to the array.
Résultat BsonArray

AddRange() public méthode

Adds multiple elements to the array.
public AddRange ( IEnumerable values ) : BsonArray
values IEnumerable A list of values to add to the array.
Résultat BsonArray

AddRange() public méthode

Adds multiple elements to the array.
public AddRange ( IEnumerable values ) : BsonArray
values IEnumerable A list of values to add to the array.
Résultat BsonArray

AddRange() public méthode

Adds multiple elements to the array.
public AddRange ( IEnumerable values ) : BsonArray
values IEnumerable A list of values to add to the array.
Résultat BsonArray

AddRange() public méthode

Adds multiple elements to the array.
public AddRange ( IEnumerable values ) : BsonArray
values IEnumerable A list of values to add to the array.
Résultat BsonArray

Clear() public méthode

Clears the array.
public Clear ( ) : void
Résultat void

Clone() public méthode

Creates a shallow clone of the array (see also DeepClone).
public Clone ( ) : BsonValue
Résultat BsonValue

CompareTo() public méthode

Compares the array to another array.
public CompareTo ( BsonArray other ) : int
other BsonArray The other array.
Résultat int

CompareTo() public méthode

Compares the array to another BsonValue.
public CompareTo ( BsonValue other ) : int
other BsonValue The other BsonValue.
Résultat int

Contains() public méthode

Tests whether the array contains a value.
public Contains ( BsonValue value ) : bool
value BsonValue The value to test for.
Résultat bool

CopyTo() public méthode

Copies elements from this array to another array.
public CopyTo ( BsonValue array, int arrayIndex ) : void
array BsonValue The other array.
arrayIndex int The zero based index of the other array at which to start copying.
Résultat void

DeepClone() public méthode

Creates a deep clone of the array (see also Clone).
public DeepClone ( ) : BsonValue
Résultat BsonValue

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

Equals() public méthode

Determines whether the specified System.Object, is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
Résultat bool

GetEnumerator() public méthode

Gets an enumerator that can enumerate the elements of the array.
public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

GetHashCode() public méthode

Gets the hash code.
public GetHashCode ( ) : int
Résultat int

IndexOf() public méthode

Gets the index of a value in the array.
public IndexOf ( BsonValue value ) : int
value BsonValue The value to search for.
Résultat int

IndexOf() public méthode

Gets the index of a value in the array.
public IndexOf ( BsonValue value, int index ) : int
value BsonValue The value to search for.
index int The zero based index at which to start the search.
Résultat int

IndexOf() public méthode

Gets the index of a value in the array.
public IndexOf ( BsonValue value, int index, int count ) : int
value BsonValue The value to search for.
index int The zero based index at which to start the search.
count int The number of elements to search.
Résultat int

Insert() public méthode

Inserts a new value into the array.
public Insert ( int index, BsonValue value ) : void
index int The zero based index at which to insert the new value.
value BsonValue The new value.
Résultat void

Materialize() protected abstract méthode

Materializes the BsonArray.
protected abstract Materialize ( ) : IEnumerable
Résultat IEnumerable

MaterializeCompleted() protected abstract méthode

Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state.
protected abstract MaterializeCompleted ( ) : void
Résultat void

MaterializedOnDemandBsonArray() protected méthode

Initializes a new instance of the MaterializedOnDemandBsonArray class.
protected MaterializedOnDemandBsonArray ( ) : System
Résultat System

Remove() public méthode

Removes the first occurrence of a value from the array.
public Remove ( BsonValue value ) : bool
value BsonValue The value to remove.
Résultat bool

RemoveAt() public méthode

Removes an element from the array.
public RemoveAt ( int index ) : void
index int The zero based index of the element to remove.
Résultat void

ThrowIfDisposed() protected méthode

Throws if disposed.
protected ThrowIfDisposed ( ) : void
Résultat void

ToArray() public méthode

Converts the BsonArray to an array of BsonValues.
public ToArray ( ) : BsonValue[]
Résultat BsonValue[]

ToList() public méthode

Converts the BsonArray to a list of BsonValues.
public ToList ( ) : List
Résultat List

ToString() public méthode

Returns a string representation of the array.
public ToString ( ) : string
Résultat string

this() public méthode

Gets or sets a value by position.
public this ( int index ) : BsonValue
index int The position.
Résultat BsonValue