Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Static Public Member Functions | List of all members
Loyc.Utilities.GoInterface Class Reference

Mainly for internal use by the other GoInterface classes. More...


Source file:

Remarks

Mainly for internal use by the other GoInterface classes.

Static Public Member Functions

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...
 

Member Function Documentation

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
objAny object.
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
objAny object.
Returns
Returns the original object wrapped by GoInterface. If the specified object is not a GoInterface wrapper, returns obj itself.