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
Methods
GetService(Type)
Gets the service object of the specified type.
public object? GetService(Type serviceType)
Parameters
serviceType
TypeAn object that specifies the type of service object to get.