IInfrastructure<T> Interface

Definition

This interface is explicitly implemented by type to hide properties that are not intended to be used in application code but can be used in extension methods written by database providers etc.

This interface is typically used by database providers (and other extensions). It is generally not used in application code.

public interface IInfrastructure<out T>
public interface IInfrastructure<T>
type IInfrastructure<'T> = interface
Public Interface IInfrastructure(Of Out T)
Public Interface IInfrastructure(Of T)

Type Parameters

T

The type of the property being hidden.

This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived

Remarks

See Implementation of database providers and extensions for more information and examples.

Properties

Instance

Gets the value of the property being hidden.

Extension Methods

GetInfrastructure<T>(IInfrastructure<T>)

Gets the value from a property that is being hidden using IInfrastructure<T>.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

Applies to