Поделиться через


TypeMappingSourceDependencies.With Метод

Определение

Перегрузки

With(IValueConverterSelector)

Клонирует этот объект параметра зависимостей с заменой одной службы.

With(IEnumerable<ITypeMappingSourcePlugin>)

Клонирует этот объект параметра зависимостей с заменой одной службы.

With(IValueConverterSelector)

Клонирует этот объект параметра зависимостей с заменой одной службы.

public Microsoft.EntityFrameworkCore.Storage.TypeMappingSourceDependencies With (Microsoft.EntityFrameworkCore.Storage.ValueConversion.IValueConverterSelector valueConverterSelector);
member this.With : Microsoft.EntityFrameworkCore.Storage.ValueConversion.IValueConverterSelector -> Microsoft.EntityFrameworkCore.Storage.TypeMappingSourceDependencies
Public Function With (valueConverterSelector As IValueConverterSelector) As TypeMappingSourceDependencies

Параметры

valueConverterSelector
IValueConverterSelector

Замена текущей зависимости этого типа.

Возвращаемое значение

Новый объект параметра с заменой заданной службы.

Применяется к

With(IEnumerable<ITypeMappingSourcePlugin>)

Клонирует этот объект параметра зависимостей с заменой одной службы.

public Microsoft.EntityFrameworkCore.Storage.TypeMappingSourceDependencies With (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Storage.ITypeMappingSourcePlugin> plugins);
member this.With : seq<Microsoft.EntityFrameworkCore.Storage.ITypeMappingSourcePlugin> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingSourceDependencies
Public Function With (plugins As IEnumerable(Of ITypeMappingSourcePlugin)) As TypeMappingSourceDependencies

Параметры

plugins
IEnumerable<ITypeMappingSourcePlugin>

Замена текущей зависимости этого типа.

Возвращаемое значение

Новый объект параметра с заменой заданной службы.

Применяется к