Share via


IMauiHandlersCollection Interface

Definition

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
Implements

Methods

TryGetService(Type, ServiceDescriptor) (Inherited from IMauiServiceCollection)

Extension Methods

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

Registers the .NET MAUI Maps handlers that are needed to render the map control.

AddHandler(IMauiHandlersCollection, Type, Type)

Registers a handler with the underlying service container via AddTransient.

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

Registers a handler with the underlying service container via AddTransient.

AddHandler<TType,TTypeRender>(IMauiHandlersCollection)

Registers a handler with the underlying service container via AddTransient.

TryAddHandler(IMauiHandlersCollection, Type, Type)

Registers a handler with the underlying service container via AddTransient.

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

Registers a handler with the underlying service container via AddTransient.

TryAddHandler<TType,TTypeRender>(IMauiHandlersCollection)

Registers a handler with the underlying service container via AddTransient.

Applies to