Skip to main content
All docs
V26.1
  • IocServiceProvider Members

    A global wrapper for an application service provider that enables dependency injection in the DevExpress MVVM framework.

    Constructors

    Name Description
    IocServiceProvider() Initializes a new instance of the IocServiceProvider class.

    Properties

    Name Description
    Default static Gets or sets the global default IocServiceProvider instance used by the DevExpress MVVM framework to resolve view models through the dependency injection container.
    IsConfigured Gets a value that indicates whether an underlying service provider is configured.

    Methods

    Name Description
    ConfigureServices(IServiceProvider) Configures the global IocServiceProvider using an IServiceProvider instance, which enables DevExpress MVVM components to resolve view models through dependency injection.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetService(Type) Resolves a service object of the specified type from the dependency injection container configured for the global IocServiceProvider.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns a string that represents the current object. Inherited from Object.
    See Also