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