OptionalFloat Class |
Namespace: Gamelogic.Extensions
[SerializableAttribute] public class OptionalFloat : Optional<float>
The OptionalFloat type exposes the following members.
Name | Description | |
---|---|---|
OptionalFloat |
Name | Description | |
---|---|---|
UseValue |
Gets or sets whether to use the value of this instance.
(Inherited from OptionalT.) | |
Value |
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.) |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from OptionalT.) |
Name | Description | |
---|---|---|
ThrowIfNull |
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.) |