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