Mainly for internal use by the other GoInterface classes.
More...
Source file:
Mainly for internal use by the other GoInterface classes.
|
static object | Unwrap (object obj) |
| Unwraps an object if it was wrapped by GoInterface. Unwrapping is recursive, so that if a wrapper is inside another wrapper, the underlying object is returned. More...
|
|
static object | UnwrapOnce (object obj) |
| Unwraps an object if it was wrapped by GoInterface. This unwrapping is not recursive–if a wrapper is inside another wrapper, only the outer wrapper is removed. More...
|
|
static object Loyc.Utilities.GoInterface.Unwrap |
( |
object |
obj | ) |
|
|
inlinestatic |
Unwraps an object if it was wrapped by GoInterface. Unwrapping is recursive, so that if a wrapper is inside another wrapper, the underlying object is returned.
- Parameters
-
- Returns
- Returns the original object wrapped by GoInterface. If the specified object is not a GoInterface wrapper, returns obj itself.
static object Loyc.Utilities.GoInterface.UnwrapOnce |
( |
object |
obj | ) |
|
|
inlinestatic |
Unwraps an object if it was wrapped by GoInterface. This unwrapping is not recursive–if a wrapper is inside another wrapper, only the outer wrapper is removed.
- Parameters
-
- Returns
- Returns the original object wrapped by GoInterface. If the specified object is not a GoInterface wrapper, returns obj itself.