Operator explicit operator
explicit operator NullablePointer<T>(Pointer)
Converts a Pointer to a NullablePointer<T>.
Declaration
public static explicit operator NullablePointer<T>(Pointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer | pointer | The Pointer to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointer<T> | A NullablePointer<T> pointing to the same target as the specified Pointer. |
explicit operator NullablePointer<T>(SequencePointer)
Converts a SequencePointer to a NullablePointer<T>.
Declaration
public static explicit operator NullablePointer<T>(SequencePointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| SequencePointer | pointer | The SequencePointer to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointer<T> | A NullablePointer<T> pointing to the same target as the specified SequencePointer. |
explicit operator NullablePointer<T>(PersistentPointer)
Converts a PersistentPointer to a NullablePointer<T>.
Declaration
public static explicit operator NullablePointer<T>(PersistentPointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer | pointer | The PersistentPointer to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointer<T> | A NullablePointer<T> pointing to the same target as the specified PersistentPointer. |
explicit operator NullablePointer<T>(PersistentSequencePointer)
Converts a PersistentSequencePointer to a NullablePointer<T>.
Declaration
public static explicit operator NullablePointer<T>(PersistentSequencePointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentSequencePointer | pointer | The PersistentSequencePointer to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointer<T> | A NullablePointer<T> pointing to the same target as the specified PersistentSequencePointer. |
explicit operator NullablePointer<T>(NullablePointer)
Converts a NullablePointer to a NullablePointer<T>.
Declaration
public static explicit operator NullablePointer<T>(NullablePointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| NullablePointer | pointer | The NullablePointer to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointer<T> | A NullablePointer<T> pointing to the same target as the specified NullablePointer. |
explicit operator NullablePointer<T>(NullableSequencePointer)
Converts a NullableSequencePointer to a NullablePointer<T>.
Declaration
public static explicit operator NullablePointer<T>(NullableSequencePointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| NullableSequencePointer | pointer | The NullableSequencePointer to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointer<T> | A NullablePointer<T> pointing to the same target as the specified NullableSequencePointer. |
explicit operator NullablePointer<T>(NullablePersistentPointer)
Converts a NullablePersistentPointer to a NullablePointer<T>.
Declaration
public static explicit operator NullablePointer<T>(NullablePersistentPointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| NullablePersistentPointer | pointer | The NullablePersistentPointer to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointer<T> | A NullablePointer<T> pointing to the same target as the specified NullablePersistentPointer. |
explicit operator NullablePointer<T>(NullablePersistentSequencePointer)
Converts a NullablePersistentSequencePointer to a NullablePointer<T>.
Declaration
public static explicit operator NullablePointer<T>(NullablePersistentSequencePointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| NullablePersistentSequencePointer | pointer | The NullablePersistentSequencePointer to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointer<T> | A NullablePointer<T> pointing to the same target as the specified NullablePersistentSequencePointer. |
explicit operator NullableFunctionPointer(NullablePointer<T>)
Converts a NullablePointer<T> to a NullableFunctionPointer.
Declaration
public static explicit operator NullableFunctionPointer(NullablePointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| NullablePointer<T> | pointer | The NullablePointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullableFunctionPointer | A NullableFunctionPointer pointing to the target function that's the same target as the specified NullablePointer<T>, reinterpreted as an executable function. |