Class OptionExtensions
Assembly: WaaS.Core.dll
View Source
Declaration
public static class OptionExtensions
Methods
ToNullable<T>(in Option<T>)
View Source
Declaration
public static T? ToNullable<T>(this in Option<T> option) where T : struct
Returns
System.Nullable<<T>>
Parameters
Type | Name |
---|---|
WaaS.ComponentModel.Binding.Option<T> | option |
Type Parameters
T
ToOption<T>(in T?)
View Source
Declaration
public static Option<T> ToOption<T>(this in T? nullable) where T : struct
Returns
WaaS.ComponentModel.Binding.Option<T>
Parameters
Type | Name |
---|---|
System.Nullable<<T>> | nullable |
Type Parameters
T