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