次の方法で共有


ImageSourceServiceCollectionExtensions クラス

定義

public ref class ImageSourceServiceCollectionExtensions abstract sealed
public static class ImageSourceServiceCollectionExtensions
type ImageSourceServiceCollectionExtensions = class
Public Module ImageSourceServiceCollectionExtensions
継承
ImageSourceServiceCollectionExtensions

メソッド

AddService<TImageSource,TImageSourceService>(IImageSourceServiceCollection)

AddSingleton を使用して、基になるサービス コンテナーにイメージ サービスを登録します。

AddService<TImageSource>(IImageSourceServiceCollection, Func<IServiceProvider,IImageSourceService<TImageSource>>)

AddSingleton を使用して、基になるサービス コンテナーにイメージ サービスを登録します。

適用対象