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