共用方式為


MauiHandlersCollectionExtensions.AddCompatibilityServices Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Hosting::IImageSourceServiceCollection ^ AddCompatibilityServices(Microsoft::Maui::Hosting::IImageSourceServiceCollection ^ services, ... cli::array <System::Reflection::Assembly ^> ^ assemblies);
public static Microsoft.Maui.Hosting.IImageSourceServiceCollection AddCompatibilityServices (this Microsoft.Maui.Hosting.IImageSourceServiceCollection services, params System.Reflection.Assembly[] assemblies);
static member AddCompatibilityServices : Microsoft.Maui.Hosting.IImageSourceServiceCollection * System.Reflection.Assembly[] -> Microsoft.Maui.Hosting.IImageSourceServiceCollection
<Extension()>
Public Function AddCompatibilityServices (services As IImageSourceServiceCollection, ParamArray assemblies As Assembly()) As IImageSourceServiceCollection

Parameters

assemblies
Assembly[]

Returns

Applies to