Operator implicit operator
implicit operator FunctionPointer(FunctionPointer<TDelegate>)
Converts a FunctionPointer<TDelegate> to a FunctionPointer.
Declaration
public static implicit operator FunctionPointer(FunctionPointer<TDelegate> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| FunctionPointer<TDelegate> | pointer | The FunctionPointer<TDelegate> to convert. |
Returns
| Type | Description |
|---|---|
| FunctionPointer | A FunctionPointer pointing to the same target function as the specified FunctionPointer<TDelegate>. |
implicit operator NullableFunctionPointer(FunctionPointer<TDelegate>)
Converts a FunctionPointer<TDelegate> to a NullableFunctionPointer.
Declaration
public static implicit operator NullableFunctionPointer(FunctionPointer<TDelegate> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| FunctionPointer<TDelegate> | pointer | The FunctionPointer<TDelegate> to convert. |
Returns
| Type | Description |
|---|---|
| NullableFunctionPointer | A NullableFunctionPointer pointing to the same target function as the specified FunctionPointer<TDelegate>. |
implicit operator NullableFunctionPointer<TDelegate>(FunctionPointer<TDelegate>)
Converts a FunctionPointer<TDelegate> to a NullableFunctionPointer<TDelegate>.
Declaration
public static implicit operator NullableFunctionPointer<TDelegate>(FunctionPointer<TDelegate> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| FunctionPointer<TDelegate> | pointer | The FunctionPointer<TDelegate> to convert. |
Returns
| Type | Description |
|---|---|
| NullableFunctionPointer<TDelegate> | A NullableFunctionPointer<TDelegate> pointing to the same target function as the specified FunctionPointer<TDelegate>. |