Summary
Sets the reference to its default value (null for reference types) and returns the original value.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- WeaverUtilities
Syntax
public static T Nullify<T>(ref T obj)
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| obj | T |
Return Value
| Type | Description |
|---|---|
| T |