Operator implicit operator
implicit operator Pointer(PersistentPointer<T>)
Converts a PersistentPointer<T> to a Pointer.
Declaration
public static implicit operator Pointer(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| Pointer | A Pointer pointing to the same target as the specified PersistentPointer<T>. |
implicit operator Pointer<T>(PersistentPointer<T>)
Converts a PersistentPointer<T> to a Pointer<T>.
Declaration
public static implicit operator Pointer<T>(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| Pointer<T> | A Pointer<T> pointing to the same target as the specified PersistentPointer<T>. |
implicit operator PointerReadOnly(PersistentPointer<T>)
Converts a PersistentPointer<T> to a PointerReadOnly.
Declaration
public static implicit operator PointerReadOnly(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PointerReadOnly | A PointerReadOnly pointing to the same target as the specified PersistentPointer<T>. |
implicit operator PointerReadOnly<T>(PersistentPointer<T>)
Converts a PersistentPointer<T> to a PointerReadOnly<T>.
Declaration
public static implicit operator PointerReadOnly<T>(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PointerReadOnly<T> | A PointerReadOnly<T> pointing to the same target as the specified PersistentPointer<T>. |
implicit operator PointerUninitialized(PersistentPointer<T>)
Converts a PersistentPointer<T> to a PointerUninitialized.
Declaration
public static implicit operator PointerUninitialized(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PointerUninitialized | A PointerUninitialized pointing to the same target as the specified PersistentPointer<T>. |
implicit operator PointerUninitialized<T>(PersistentPointer<T>)
Converts a PersistentPointer<T> to a PointerUninitialized<T>.
Declaration
public static implicit operator PointerUninitialized<T>(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PointerUninitialized<T> | A PointerUninitialized<T> pointing to the same target as the specified PersistentPointer<T>. |
implicit operator PersistentPointer(PersistentPointer<T>)
Converts a PersistentPointer<T> to a PersistentPointer.
Declaration
public static implicit operator PersistentPointer(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PersistentPointer | A PersistentPointer pointing to the same target as the specified PersistentPointer<T>. |
implicit operator PersistentPointerReadOnly(PersistentPointer<T>)
Converts a PersistentPointer<T> to a PersistentPointerReadOnly.
Declaration
public static implicit operator PersistentPointerReadOnly(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PersistentPointerReadOnly | A PersistentPointerReadOnly pointing to the same target as the specified PersistentPointer<T>. |
implicit operator PersistentPointerReadOnly<T>(PersistentPointer<T>)
Converts a PersistentPointer<T> to a PersistentPointerReadOnly<T>.
Declaration
public static implicit operator PersistentPointerReadOnly<T>(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PersistentPointerReadOnly<T> | A PersistentPointerReadOnly<T> pointing to the same target as the specified PersistentPointer<T>. |
implicit operator PersistentPointerUninitialized(PersistentPointer<T>)
Converts a PersistentPointer<T> to a PersistentPointerUninitialized.
Declaration
public static implicit operator PersistentPointerUninitialized(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PersistentPointerUninitialized | A PersistentPointerUninitialized pointing to the same target as the specified PersistentPointer<T>. |
implicit operator PersistentPointerUninitialized<T>(PersistentPointer<T>)
Converts a PersistentPointer<T> to a PersistentPointerUninitialized<T>.
Declaration
public static implicit operator PersistentPointerUninitialized<T>(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PersistentPointerUninitialized<T> | A PersistentPointerUninitialized<T> pointing to the same target as the specified PersistentPointer<T>. |
implicit operator NullablePointer(PersistentPointer<T>)
Converts a PersistentPointer<T> to a NullablePointer.
Declaration
public static implicit operator NullablePointer(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointer | A NullablePointer pointing to the same target as the specified PersistentPointer<T>. |
implicit operator NullablePointer<T>(PersistentPointer<T>)
Converts a PersistentPointer<T> to a NullablePointer<T>.
Declaration
public static implicit operator NullablePointer<T>(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointer<T> | A NullablePointer<T> pointing to the same target as the specified PersistentPointer<T>. |
implicit operator NullablePointerReadOnly(PersistentPointer<T>)
Converts a PersistentPointer<T> to a NullablePointerReadOnly.
Declaration
public static implicit operator NullablePointerReadOnly(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointerReadOnly | A NullablePointerReadOnly pointing to the same target as the specified PersistentPointer<T>. |
implicit operator NullablePointerReadOnly<T>(PersistentPointer<T>)
Converts a PersistentPointer<T> to a NullablePointerReadOnly<T>.
Declaration
public static implicit operator NullablePointerReadOnly<T>(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointerReadOnly<T> | A NullablePointerReadOnly<T> pointing to the same target as the specified PersistentPointer<T>. |
implicit operator NullablePointerUninitialized(PersistentPointer<T>)
Converts a PersistentPointer<T> to a NullablePointerUninitialized.
Declaration
public static implicit operator NullablePointerUninitialized(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointerUninitialized | A NullablePointerUninitialized pointing to the same target as the specified PersistentPointer<T>. |
implicit operator NullablePointerUninitialized<T>(PersistentPointer<T>)
Converts a PersistentPointer<T> to a NullablePointerUninitialized<T>.
Declaration
public static implicit operator NullablePointerUninitialized<T>(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointerUninitialized<T> | A NullablePointerUninitialized<T> pointing to the same target as the specified PersistentPointer<T>. |
implicit operator NullablePersistentPointer(PersistentPointer<T>)
Converts a PersistentPointer<T> to a NullablePersistentPointer.
Declaration
public static implicit operator NullablePersistentPointer(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePersistentPointer | A NullablePersistentPointer pointing to the same target as the specified PersistentPointer<T>. |
implicit operator NullablePersistentPointer<T>(PersistentPointer<T>)
Converts a PersistentPointer<T> to a NullablePersistentPointer<T>.
Declaration
public static implicit operator NullablePersistentPointer<T>(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePersistentPointer<T> | A NullablePersistentPointer<T> pointing to the same target as the specified PersistentPointer<T>. |
implicit operator NullablePersistentPointerReadOnly(PersistentPointer<T>)
Converts a PersistentPointer<T> to a NullablePersistentPointerReadOnly.
Declaration
public static implicit operator NullablePersistentPointerReadOnly(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePersistentPointerReadOnly | A NullablePersistentPointerReadOnly pointing to the same target as the specified PersistentPointer<T>. |
implicit operator NullablePersistentPointerReadOnly<T>(PersistentPointer<T>)
Converts a PersistentPointer<T> to a NullablePersistentPointerReadOnly<T>.
Declaration
public static implicit operator NullablePersistentPointerReadOnly<T>(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePersistentPointerReadOnly<T> | A NullablePersistentPointerReadOnly<T> pointing to the same target as the specified PersistentPointer<T>. |
implicit operator NullablePersistentPointerUninitialized(PersistentPointer<T>)
Converts a PersistentPointer<T> to a NullablePersistentPointerUninitialized.
Declaration
public static implicit operator NullablePersistentPointerUninitialized(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePersistentPointerUninitialized | A NullablePersistentPointerUninitialized pointing to the same target as the specified PersistentPointer<T>. |
implicit operator NullablePersistentPointerUninitialized<T>(PersistentPointer<T>)
Converts a PersistentPointer<T> to a NullablePersistentPointerUninitialized<T>.
Declaration
public static implicit operator NullablePersistentPointerUninitialized<T>(PersistentPointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| PersistentPointer<T> | pointer | The PersistentPointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePersistentPointerUninitialized<T> | A NullablePersistentPointerUninitialized<T> pointing to the same target as the specified PersistentPointer<T>. |