The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

DependencyResolverMixins.

UnregisterCurrent<T>(IMutableDependencyResolver, string) Method

Summary

Unregisters the current the value for the specified type and the optional contract.
Namespace
Splat
Containing Type
DependencyResolverMixins

Syntax

public static void UnregisterCurrent<T>(this IMutableDependencyResolver resolver, string contract = null)

Type Parameters

Name Description
T The type of item to unregister.

Parameters

Name Type Description
resolver IMutableDependencyResolver The resolver to unregister the service with.
contract string A optional contract which indicates to only removed the item registered with this contract.

Return Value

Type Description
void