Struct NtHandle
Low level NT Core Handle
Implements
Inherited Members
Namespace: NetworkTables.Natives
Assembly: FRC.NetworkTables.dll
Syntax
public struct NtHandle : IEquatable<NtHandle>
Constructors
| Improve this Doc View SourceNtHandle(Int32)
Create a handle from an int.
Declaration
public NtHandle(int value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | value | handle value |
Methods
| Improve this Doc View SourceEquals(NtHandle)
Checks equality between another Handle
Declaration
public bool Equals(NtHandle other)
Parameters
Type | Name | Description |
---|---|---|
Nt |
other | Handle to check |
Returns
Type | Description |
---|---|
Boolean | True if equal |
Equals(Object)
Checks equality between another object
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | Object to check |
Returns
Type | Description |
---|---|
Boolean | True if equal |
Overrides
| Improve this Doc View SourceGet()
Gets the raw handle value
Declaration
public int Get()
Returns
Type | Description |
---|---|
Int32 | The raw handle value |
GetHashCode()
Gets Hash Code of Handle
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | Handle Value as Hash Code |
Overrides
Operators
| Improve this Doc View SourceEquality(NtHandle, NtHandle)
Gets if 2 handles are equal
Declaration
public static bool operator ==(NtHandle lhs, NtHandle rhs)
Parameters
Returns
Type | Description |
---|---|
Boolean | true if equal |
Inequality(NtHandle, NtHandle)
Gets if 2 handles are not equal
Declaration
public static bool operator !=(NtHandle lhs, NtHandle rhs)
Parameters
Returns
Type | Description |
---|---|
Boolean | true if not equal |