Category |
m link |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#Invoke:ProtoFlux|GenerateUI | |||
|Name=Unbox | |||
|Category=Core | |||
|Inputs= | |||
[ | |||
{"Name":"Input", "Type":"Object"} | |||
] | |||
|Outputs= | |||
[ | |||
{"Name":"*", "Type":"Dummy"} | |||
] | |||
|}} | |||
The '''Unbox<T>''' node converts a boxed [[Type:object|object]] back into its underlying [[value type]]. | |||
== Inputs == | |||
=== Input ([[Type:Object|Object]]) === | |||
The object to unbox. | |||
== Outputs == | |||
=== * (Generic) === | |||
The unboxed value of the object. | |||
== See also == | |||
* [[ProtoFlux:Box]] for boxing value types into objects | |||
* [https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/types/boxing-and-unboxing Microsoft documentation on C# boxing and unboxing] | |||
[[Category:ProtoFlux:Core]] | [[Category:ProtoFlux:Core]] |
Latest revision as of 16:24, 18 April 2025
Unbox
Core
The Unbox<T> node converts a boxed object back into its underlying value type.
Inputs
Input (Object)
The object to unbox.
Outputs
* (Generic)
The unboxed value of the object.
See also
- ProtoFlux:Box for boxing value types into objects
- Microsoft documentation on C# boxing and unboxing