Table of Contents

Method GetService

Namespace
PaintDotNet
Assembly
PaintDotNet.Fundamentals.dll

GetService<TService>(IServiceProvider)

public static TService? GetService<TService>(this IServiceProvider serviceProvider) where TService : class

Parameters

serviceProvider IServiceProvider

Returns

TService

Type Parameters

TService