AppLocator.UnregisterAll() method¶
Defined in
Type: AppLocator
Namespace: Splat
Assembly: Splat.Core.dll
Applies to
net10.0, net9.0, net8.0, net462, net481
Overloads¶
-
public static void UnregisterAll<T>() -
public static void UnregisterAll<T>(string contract)
1. Overload¶
public static void UnregisterAll<T>()
Summary: Unregisters the all the values for the specified type and the optional contract.
Type parameters
| Name | Description |
|---|---|
T | The type of items to unregister. |
2. Overload¶
public static void UnregisterAll<T>(string contract)
Summary: Unregisters the all the values for the specified type and the optional contract.
Type parameters
| Name | Description |
|---|---|
T | The type of items to unregister. |
Parameters
| Name | Type | Description |
|---|---|---|
contract | string | A contract which indicates to only removed those items registered with this contract. |