Skip to main content

Definition

Assembly: mscorlib.dll Namespace: System

Syntax

System.IServiceProvider

Summary

This type is defined in mscorlib.

Methods

GetTestableApiInstance Extension

Extension method from System.IServiceProviderExtensions

Syntax

public static T GetTestableApiInstance<T>(System.IServiceProvider serviceProvider) where T : Microsoft.Restier.Core.ApiBase

Parameters

NameTypeDescription
serviceProviderSystem.IServiceProvider-

Returns

Type: T

Type Parameters

  • T -