Jaa


AdditionalPropertiesDictionary Class

Definition

Provides a dictionary used as the AdditionalProperties dictionary on Microsoft.Extensions.AI objects.

public ref class AdditionalPropertiesDictionary sealed : Microsoft::Extensions::AI::AdditionalPropertiesDictionary<System::Object ^>
public sealed class AdditionalPropertiesDictionary : Microsoft.Extensions.AI.AdditionalPropertiesDictionary<object>
type AdditionalPropertiesDictionary = class
    inherit AdditionalPropertiesDictionary<obj>
Public NotInheritable Class AdditionalPropertiesDictionary
Inherits AdditionalPropertiesDictionary(Of Object)
Inheritance
AdditionalPropertiesDictionary

Constructors

AdditionalPropertiesDictionary()

Initializes a new instance of the AdditionalPropertiesDictionary class.

AdditionalPropertiesDictionary(IDictionary<String,Object>)

Initializes a new instance of the AdditionalPropertiesDictionary class.

AdditionalPropertiesDictionary(IEnumerable<KeyValuePair<String,Object>>)

Initializes a new instance of the AdditionalPropertiesDictionary class.

Properties

Count

Gets the number of elements contained in the ICollection<T>.

(Inherited from AdditionalPropertiesDictionary<TValue>)
Item[String]

Gets or sets the element with the specified key.

(Inherited from AdditionalPropertiesDictionary<TValue>)
Keys

Gets an ICollection<T> containing the keys of the IDictionary<TKey,TValue>.

(Inherited from AdditionalPropertiesDictionary<TValue>)
Values

Gets an ICollection<T> containing the values in the IDictionary<TKey,TValue>.

(Inherited from AdditionalPropertiesDictionary<TValue>)

Methods

Add(String, TValue)

Adds an element with the provided key and value to the IDictionary<TKey,TValue>.

(Inherited from AdditionalPropertiesDictionary<TValue>)
Clear()

Removes all items from the ICollection<T>.

(Inherited from AdditionalPropertiesDictionary<TValue>)
Clone()

Creates a shallow clone of the properties dictionary.

ContainsKey(String)

Determines whether the IDictionary<TKey,TValue> contains an element with the specified key.

(Inherited from AdditionalPropertiesDictionary<TValue>)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

Returns an enumerator that iterates through the AdditionalPropertiesDictionary<TValue>.

(Inherited from AdditionalPropertiesDictionary<TValue>)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(String)

Removes the element with the specified key from the IDictionary<TKey,TValue>.

(Inherited from AdditionalPropertiesDictionary<TValue>)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryAdd(String, TValue)

Attempts to add the specified key and value to the dictionary.

(Inherited from AdditionalPropertiesDictionary<TValue>)
TryGetValue(String, TValue)

Gets the value associated with the specified key.

(Inherited from AdditionalPropertiesDictionary<TValue>)
TryGetValue<T>(String, T)

Attempts to extract a typed value from the dictionary.

(Inherited from AdditionalPropertiesDictionary<TValue>)

Explicit Interface Implementations

ICollection<KeyValuePair<String,TValue>>.Add(KeyValuePair<String,TValue>)

Adds an item to the ICollection<T>.

(Inherited from AdditionalPropertiesDictionary<TValue>)
ICollection<KeyValuePair<String,TValue>>.Contains(KeyValuePair<String,TValue>)

Determines whether the ICollection<T> contains a specific value.

(Inherited from AdditionalPropertiesDictionary<TValue>)
ICollection<KeyValuePair<String,TValue>>.CopyTo(KeyValuePair<String,TValue>[], Int32)

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

(Inherited from AdditionalPropertiesDictionary<TValue>)
ICollection<KeyValuePair<String,TValue>>.IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only.

(Inherited from AdditionalPropertiesDictionary<TValue>)
ICollection<KeyValuePair<String,TValue>>.Remove(KeyValuePair<String,TValue>)

Removes the first occurrence of a specific object from the ICollection<T>.

(Inherited from AdditionalPropertiesDictionary<TValue>)
IDictionary<String,TValue>.TryGetValue(String, TValue)

Gets the value associated with the specified key.

(Inherited from AdditionalPropertiesDictionary<TValue>)
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

(Inherited from AdditionalPropertiesDictionary<TValue>)
IEnumerable<KeyValuePair<String,TValue>>.GetEnumerator()

Returns an enumerator that iterates through the collection.

(Inherited from AdditionalPropertiesDictionary<TValue>)
IReadOnlyDictionary<String,TValue>.Keys

Gets an enumerable collection that contains the keys in the read-only dictionary.

(Inherited from AdditionalPropertiesDictionary<TValue>)
IReadOnlyDictionary<String,TValue>.TryGetValue(String, TValue)

Gets the value that is associated with the specified key.

(Inherited from AdditionalPropertiesDictionary<TValue>)
IReadOnlyDictionary<String,TValue>.Values

Gets an enumerable collection that contains the values in the read-only dictionary.

(Inherited from AdditionalPropertiesDictionary<TValue>)

Extension Methods

ToFrozenDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

Creates a FrozenDictionary<TKey,TValue> from an IEnumerable<T> according to specified key selector function.

ToFrozenDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)

Creates a FrozenDictionary<TKey,TValue> from an IEnumerable<T> according to specified key selector and element selector functions.

ToFrozenSet<T>(IEnumerable<T>, IEqualityComparer<T>)

Creates a FrozenSet<T> with the specified values.

ToImmutableArray<TSource>(IEnumerable<TSource>)

Creates an immutable array from the specified collection.

ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

Constructs an immutable dictionary based on some transformation of a sequence.

ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)

Constructs an immutable dictionary from an existing collection of elements, applying a transformation function to the source keys.

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IEqualityComparer<TKey>, IEqualityComparer<TValue>)

Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key and value comparers.

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IEqualityComparer<TKey>)

Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key comparer.

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)

Enumerates and transforms a sequence, and produces an immutable dictionary of its contents.

ToImmutableHashSet<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)

Enumerates a sequence, produces an immutable hash set of its contents, and uses the specified equality comparer for the set type.

ToImmutableHashSet<TSource>(IEnumerable<TSource>)

Enumerates a sequence and produces an immutable hash set of its contents.

ToImmutableList<TSource>(IEnumerable<TSource>)

Enumerates a sequence and produces an immutable list of its contents.

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>, IEqualityComparer<TValue>)

Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key and value comparers.

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>)

Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key comparer.

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)

Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents.

ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)

Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer.

ToImmutableSortedSet<TSource>(IEnumerable<TSource>)

Enumerates a sequence and produces an immutable sorted set of its contents.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>)

Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

Applies to