MemoryConfigurationProvider Klasa
Definicja
Implementacja w pamięci IConfigurationProviderIn-memory implementation of IConfigurationProvider
public ref class MemoryConfigurationProvider : Microsoft::Extensions::Configuration::ConfigurationProvider, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>>
public class MemoryConfigurationProvider : Microsoft.Extensions.Configuration.ConfigurationProvider, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>>
type MemoryConfigurationProvider = class
inherit ConfigurationProvider
interface seq<KeyValuePair<string, string>>
interface IEnumerable
Public Class MemoryConfigurationProvider
Inherits ConfigurationProvider
Implements IEnumerable(Of KeyValuePair(Of String, String))
- Dziedziczenie
- Implementuje
Konstruktory
MemoryConfigurationProvider(MemoryConfigurationSource) |
Zainicjuj nowe wystąpienie ze źródła.Initialize a new instance from the source. |
Właściwości
Data |
Pary wartości klucza konfiguracji dla tego dostawcy.The configuration key value pairs for this provider. (Odziedziczone po ConfigurationProvider) |
Metody
Add(String, String) |
Dodaj nową parę klucz-wartość.Add a new key and value pair. |
Equals(Object) |
Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.Determines whether the specified object is equal to the current object. (Odziedziczone po Object) |
GetChildKeys(IEnumerable<String>, String) |
Zwraca listę kluczy, które ma ten dostawca.Returns the list of keys that this provider has. (Odziedziczone po ConfigurationProvider) |
GetEnumerator() |
Zwraca moduł wyliczający, który iteruje po kolekcji.Returns an enumerator that iterates through the collection. |
GetHashCode() |
Służy jako domyślna funkcja skrótu.Serves as the default hash function. (Odziedziczone po Object) |
GetReloadToken() |
Zwraca wartość IChangeToken , która może być używana do nasłuchiwania po ponownym załadowaniu tego dostawcy.Returns a IChangeToken that can be used to listen when this provider is reloaded. (Odziedziczone po ConfigurationProvider) |
GetType() |
Pobiera Type bieżące wystąpienie.Gets the Type of the current instance. (Odziedziczone po Object) |
Load() |
Ładuje (lub ładuje) dane dla tego dostawcy.Loads (or reloads) the data for this provider. (Odziedziczone po ConfigurationProvider) |
MemberwiseClone() |
Tworzy skróconą kopię bieżącego elementu Object .Creates a shallow copy of the current Object. (Odziedziczone po Object) |
OnReload() |
Wyzwala token przeładowania ponownie i tworzy nowy.Triggers the reload change token and creates a new one. (Odziedziczone po ConfigurationProvider) |
Set(String, String) |
Ustawia wartość dla danego klucza.Sets a value for a given key. (Odziedziczone po ConfigurationProvider) |
ToString() |
Generuje ciąg reprezentujący tę nazwę dostawcy i odpowiednie szczegóły.Generates a string representing this provider name and relevant details. (Odziedziczone po ConfigurationProvider) |
TryGet(String, String) |
Próbuje znaleźć wartość z danym kluczem, zwraca wartość true, jeśli zostanie znaleziona. w przeciwnym razie wartość false.Attempts to find a value with the given key, returns true if one is found, false otherwise. (Odziedziczone po ConfigurationProvider) |
Jawne implementacje interfejsu
IEnumerable.GetEnumerator() |
Zwraca moduł wyliczający, który iteruje po kolekcji.Returns an enumerator that iterates through the collection. |
Metody rozszerzania
CopyToDataTable<T>(IEnumerable<T>) |
Zwraca DataTable obiekt, który zawiera kopie DataRow obiektów, z uwzględnieniem obiektu wejściowego, IEnumerable<T> w którym parametr generyczny |
CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) |
Kopiuje DataRow obiekty do określonego DataTable , przy użyciu obiektu wejściowego, IEnumerable<T> w którym jest parametr generyczny |
CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) |
Kopiuje DataRow obiekty do określonego DataTable , przy użyciu obiektu wejściowego, IEnumerable<T> w którym jest parametr generyczny |