Standardize |
add unbox to see also |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
|}} | |}} | ||
The '''Box<T>''' node takes in a [[value type]] and converts it to an [[Type:Object|object]]. | |||
== Inputs == | == Inputs == | ||
Line 18: | Line 18: | ||
=== Box (Generic) === | === Box (Generic) === | ||
The value to box into an object | The value to box into an object. | ||
== Outputs == | == Outputs == | ||
Line 24: | Line 24: | ||
=== * ([[Type:Object|Object]]) === | === * ([[Type:Object|Object]]) === | ||
The | The converted value as an object. | ||
== | == See also == | ||
* [[ProtoFlux:Unbox]] for unboxing objects into their underlying type | |||
* [https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/types/boxing-and-unboxing Microsoft documentation on C# boxing and unboxing] | |||
[[Category:ProtoFlux:Core]] |
Latest revision as of 16:23, 18 April 2025
Box
Core
The Box<T> node takes in a value type and converts it to an object.
Inputs
Box (Generic)
The value to box into an object.
Outputs
* (Object)
The converted value as an object.
See also
- ProtoFlux:Unbox for unboxing objects into their underlying type
- Microsoft documentation on C# boxing and unboxing