Compartilhar via


IMauiHandlersCollection Interface

Definição

public interface class IMauiHandlersCollection : Microsoft::Extensions::DependencyInjection::IServiceCollection, Microsoft::Maui::Hosting::IMauiServiceCollection, System::Collections::Generic::ICollection<Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^>, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^>, System::Collections::Generic::IList<Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^>
public interface IMauiHandlersCollection : Microsoft.Extensions.DependencyInjection.IServiceCollection, Microsoft.Maui.Hosting.IMauiServiceCollection, System.Collections.Generic.ICollection<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>, System.Collections.Generic.IList<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>
type IMauiHandlersCollection = interface
    interface IMauiServiceCollection
    interface IServiceCollection
    interface IList<ServiceDescriptor>
    interface ICollection<ServiceDescriptor>
    interface seq<ServiceDescriptor>
    interface IEnumerable
Public Interface IMauiHandlersCollection
Implements ICollection(Of ServiceDescriptor), IEnumerable(Of ServiceDescriptor), IList(Of ServiceDescriptor), IMauiServiceCollection, IServiceCollection
Implementações

Métodos

TryGetService(Type, ServiceDescriptor) (Herdado de IMauiServiceCollection)

Métodos de Extensão

AddCompatibilityRenderer(IMauiHandlersCollection, Type, Type)
AddCompatibilityRenderer<TControlType,TRenderer>(IMauiHandlersCollection)
AddCompatibilityRenderer<TControlType,TMauiType,TRenderer>(IMauiHandlersCollection)
AddCompatibilityRenderers(IMauiHandlersCollection, Assembly[])
TryAddCompatibilityRenderer(IMauiHandlersCollection, Type, Type)
AddMauiControlsHandlers(IMauiHandlersCollection)
AddMauiMaps(IMauiHandlersCollection)

Registra os manipuladores do .NET MAUI Maps que são necessários para renderizar o controle de mapa.

AddHandler(IMauiHandlersCollection, Type, Type)

Registra um manipulador com o contêiner de serviço subjacente via AddTransient.

AddHandler<TType>(IMauiHandlersCollection, Func<IServiceProvider,IElementHandler>)

Registra um manipulador com o contêiner de serviço subjacente via AddTransient.

AddHandler<TType,TTypeRender>(IMauiHandlersCollection)

Registra um manipulador com o contêiner de serviço subjacente via AddTransient.

TryAddHandler(IMauiHandlersCollection, Type, Type)

Registra um manipulador com o contêiner de serviço subjacente via AddTransient.

TryAddHandler<TType>(IMauiHandlersCollection, Func<IServiceProvider,IElementHandler>)

Registra um manipulador com o contêiner de serviço subjacente via AddTransient.

TryAddHandler<TType,TTypeRender>(IMauiHandlersCollection)

Registra um manipulador com o contêiner de serviço subjacente via AddTransient.

Aplica-se a