Share via


ServiceProvider.RemoveAll Method

 

Namespace:   Microsoft.Owin.Hosting.Services
Assembly:  Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)

Overload List

Name Description
System_CAPS_pubmethod RemoveAll(Type)

Remove all occurrences of the given type from the provider.

System_CAPS_pubmethod RemoveAll<T>()

Remove all occurrences of the given type from the provider.

See Also

ServiceProvider Class
Microsoft.Owin.Hosting.Services Namespace

Return to top

ServiceProvider.RemoveAll Method (Type)

Remove all occurrences of the given type from the provider.

Syntax

public virtual ServiceProvider RemoveAll(
    Type type
)
public:
virtual ServiceProvider^ RemoveAll(
    Type^ type
)
abstract RemoveAll : 
        type:Type -> ServiceProvider
override RemoveAll : 
        type:Type -> ServiceProvider
Public Overridable Function RemoveAll (
    type As Type
) As ServiceProvider

Parameters

Return Value

Type: Microsoft.Owin.Hosting.Services.ServiceProvider

Returns ServiceProvider.

Return to top

ServiceProvider.RemoveAll<T> Method ()

Remove all occurrences of the given type from the provider.

Syntax

public virtual ServiceProvider RemoveAll<T>()
public:
generic<typename T>
virtual ServiceProvider^ RemoveAll()
abstract RemoveAll<'T> : unit -> ServiceProvider
override RemoveAll<'T> : unit -> ServiceProvider
Public Overridable Function RemoveAll(Of T) As ServiceProvider

Return Value

Type: Microsoft.Owin.Hosting.Services.ServiceProvider

Returns ServiceProvider.

Type Parameters

  • T

Return to top