Click or drag to resize

NullableArrayT Class

Creates an array of a struct type that uses bitmask for designating a null value.
Inheritance Hierarchy
SystemObject
  GSF.CollectionNullableArrayT

Namespace:  GSF.Collection
Assembly:  GSF.Core (in GSF.Core.dll) Version: 2.2.61-beta
Syntax
public class NullableArray<T>
where T : struct, new()
Request Example View Source

Type Parameters

T

The NullableArrayT type exposes the following members.

Constructors
  NameDescription
Public methodNullableArrayT
Creates a NullableArrayT
Top
Methods
  NameDescription
Public methodAdd
Adds the provided item to an indexed position of the array, auto-growing the array if needed.
Public methodClear
Clears the array by setting all of the masked bits to false.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGet
Attempts to get the provided item from the array if it has been added.
Top
Extension Methods
  NameDescription
Public Extension MethodGetEnumValueOrDefault(Type, Object)Overloaded.
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions.)
Public Extension MethodGetEnumValueOrDefaultT(Object)Overloaded.
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions.)
Top
See Also