Table of Contents

Class EmptyServiceProvider

Namespace
Prefrontal.Common
Assembly
Prefrontal.Core.dll

Empty service provider.

public sealed class EmptyServiceProvider : IServiceProvider
Inheritance
EmptyServiceProvider
Implements
Inherited Members
Extension Methods

Properties

Instance

Singleton instance.

public static EmptyServiceProvider Instance { get; }

Property Value

EmptyServiceProvider

Methods

GetService(Type)

Gets the service object of the specified type.

public object? GetService(Type serviceType)

Parameters

serviceType Type

An object that specifies the type of service object to get.

Returns

object

A service object of type serviceType.

-or-

null if there is no service object of type serviceType.