Click or drag to resize

OptionalFloat Class

Represents an optional float value.
Inheritance Hierarchy
SystemObject
  Gamelogic.ExtensionsOptional
    Gamelogic.ExtensionsOptionalSingle
      Gamelogic.ExtensionsOptionalFloat

Namespace:  Gamelogic.Extensions
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class OptionalFloat : Optional<float>

The OptionalFloat type exposes the following members.

Constructors
  NameDescription
Public methodOptionalFloat
Top
Properties
  NameDescription
Public propertyUseValue
Gets or sets whether to use the value of this instance.
(Inherited from OptionalT.)
Public propertyCode exampleValue
The value of this instance. It should only be used if UseValue is true. Otherwise, some other value should be used, or code that does not need it must be executed instead.
(Inherited from OptionalT.)
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
See Also