Condividi tramite


PlatformConfigurationRegistry<TElement> Class

Definition

Helper that handles storing and lookup of platform specifics implementations

generic <typename TElement>
 where TElement : Elementpublic ref class PlatformConfigurationRegistry : Microsoft::Maui::Controls::IElementConfiguration<TElement>
public class PlatformConfigurationRegistry<TElement> : Microsoft.Maui.Controls.IElementConfiguration<TElement> where TElement : Element
type PlatformConfigurationRegistry<'Element (requires 'Element :> Element)> = class
    interface IElementConfiguration<'Element (requires 'Element :> Element)>
Public Class PlatformConfigurationRegistry(Of TElement)
Implements IElementConfiguration(Of TElement)

Type Parameters

TElement

The element type.

Inheritance
PlatformConfigurationRegistry<TElement>
Implements

Constructors

PlatformConfigurationRegistry<TElement>(TElement)

Methods

On<T>()

Returns the platform-specific instance of this TElement, on which a platform-specific method may be called.

Applies to