IWebApplication インターフェイス

定義

デザイン時に Microsoft Visual Studio 2005 などのデザイン ホストの Web アプリケーションにアクセスするためのインターフェイスを提供します。

public interface class IWebApplication : IServiceProvider
[System.Runtime.InteropServices.Guid("cff39fa8-5607-4b6d-86f3-cc80b3cfe2dd")]
public interface IWebApplication : IServiceProvider
[<System.Runtime.InteropServices.Guid("cff39fa8-5607-4b6d-86f3-cc80b3cfe2dd")>]
type IWebApplication = interface
    interface IServiceProvider
Public Interface IWebApplication
Implements IServiceProvider
属性
実装

プロパティ

RootProjectItem

デザイン ホストからルート プロジェクト項目を取得します。

メソッド

GetProjectItemFromUrl(String)

URL に基づいて、デザイン ホストからプロジェクト項目を返します。

GetService(Type)

指定した型のサービス オブジェクトを取得します。

(継承元 IServiceProvider)
OpenWebConfiguration(Boolean)

デザイン ホストの現在の Web アプリケーションを表す Configuration オブジェクトを返します。

拡張メソッド

GetKeyedService<T>(IServiceProvider, Object)

から 型 T のサービスを取得します IServiceProvider

GetKeyedServices(IServiceProvider, Type, Object)

から 型 serviceType のサービスの列挙体を取得します IServiceProvider

GetKeyedServices<T>(IServiceProvider, Object)

から 型 T のサービスの列挙体を取得します IServiceProvider

GetRequiredKeyedService(IServiceProvider, Type, Object)

から 型 serviceType のサービスを取得します IServiceProvider

GetRequiredKeyedService<T>(IServiceProvider, Object)

から 型 T のサービスを取得します IServiceProvider

CreateAsyncScope(IServiceProvider)

スコープ サービスを解決するために使用できる新しい AsyncServiceScope を作成します。

CreateScope(IServiceProvider)

スコープ サービスを解決するために使用できる新しい IServiceScope を作成します。

GetRequiredService(IServiceProvider, Type)

IServiceProvider から serviceType 型のサービスを取得します。

GetRequiredService<T>(IServiceProvider)

IServiceProvider から T 型のサービスを取得します。

GetService<T>(IServiceProvider)

IServiceProvider から T 型のサービスを取得します。

GetServices(IServiceProvider, Type)

IServiceProvider から serviceType 型のサービスの列挙体を取得します。

GetServices<T>(IServiceProvider)

IServiceProvider から T 型のサービスの列挙体を取得します。

GetFakeLogCollector(IServiceProvider)

偽のロガーに送信されたログ レコードを収集する オブジェクトを取得します。

GetFakeRedactionCollector(IServiceProvider)

依存関係挿入コンテナーから偽の redactor コレクター インスタンスを取得します。

適用対象

こちらもご覧ください