Skip to main content

ServiceCollectionExtensions Methods

Provides access to extension methods that register MAUI services in the IServiceCollection and simplify the dependency injection setup in MAUI applications.
Name Description
AddTransientDXPopup(IServiceCollection, Type, Type) static Registers a transient service for the popup view in the specified IServiceCollection. This method binds the popup view to its View Model and enables dependency injection.
AddTransientDXPopup<TPopupView, TPopupViewModel>(IServiceCollection) static Registers a transient service for a popup view and its View Model in the specified IServiceCollection. The method binds a popup view to its View Model.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from System.Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from System.Object.
GetHashCode() Serves as the default hash function. Inherited from System.Object.
GetType() Gets the Type of the current instance. Inherited from System.Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from System.Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from System.Object.
ToString() Returns a string that represents the current object. Inherited from System.Object.
See Also