語言

IInfrastructure<T> 介面

定義

此介面以類型明確實作,隱藏那些不打算用於應用程式程式碼,但可用於資料庫提供者撰寫的擴充方法等的屬性。

此介面通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。

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

類型參數

T

隱藏的房產類型。

這是共變數的型別參數。 也就是說,您可以使用您指定的類型,或衍生程度較高的任何類型。 如需共變數與反變數的詳細資訊,請參閱泛型中的共變數與反變數。
衍生

備註

更多資訊與範例請參見 資料庫提供者與擴充功能的實作 。

屬性

名稱 Description
Instance

取得隱藏財產的價值。

擴充方法

名稱 Description
GetInfrastructure<T>(IInfrastructure<T>)

從一個被隱藏的屬性中取得價值 IInfrastructure<T>。

此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。

適用於