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