Share via


TypeMappingSourceDependencies.With Method

Definition

Overloads

With(IValueConverterSelector)

Clones this dependency parameter object with one service replaced.

With(IEnumerable<ITypeMappingSourcePlugin>)

Clones this dependency parameter object with one service replaced.

With(IValueConverterSelector)

Clones this dependency parameter object with one service replaced.

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

Parameters

valueConverterSelector
IValueConverterSelector

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IEnumerable<ITypeMappingSourcePlugin>)

Clones this dependency parameter object with one service replaced.

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

Parameters

plugins
IEnumerable<ITypeMappingSourcePlugin>

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to