Struct NtInst
Low Level NT Core Instance Handle
Inherited Members
Namespace: NetworkTables.Natives
Assembly: FRC.NetworkTables.dll
Syntax
public struct NtInst
Constructors
| Improve this Doc View SourceNtInst(Int32)
Creates a new handle
Declaration
public NtInst(int value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | value | handle value |
Methods
| Improve this Doc View SourceEquals(NtInst)
Checks equality between another Handle
Declaration
public bool Equals(NtInst other)
Parameters
Type | Name | Description |
---|---|---|
NtInst | 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(NtInst, NtInst)
Gets if 2 handles are equal
Declaration
public static bool operator ==(NtInst lhs, NtInst rhs)
Parameters
Type | Name | Description |
---|---|---|
NtInst | lhs | Left Hand Side |
NtInst | rhs | Right Hand Side |
Returns
Type | Description |
---|---|
Boolean | true if equal |
Implicit(NtInst to NtHandle)
Converts a handle to a base handle
Declaration
public static implicit operator NtHandle(NtInst value)
Parameters
Type | Name | Description |
---|---|---|
NtInst | value | The current handle |
Returns
Type | Description |
---|---|
NtHandle |
Inequality(NtInst, NtInst)
Gets if 2 handles are not equal
Declaration
public static bool operator !=(NtInst lhs, NtInst rhs)
Parameters
Type | Name | Description |
---|---|---|
NtInst | lhs | Left Hand Side |
NtInst | rhs | Right Hand Side |
Returns
Type | Description |
---|---|
Boolean | true if not equal |