Example #1
0
 public static GetValueArrayCallback GetManagedDelegate (GetValueArrayCallbackNative native) {
   if (native == null)
     return null;
   GetValueArrayCallbackWrapper wrapper = (GetValueArrayCallbackWrapper) native.Target;
   if (wrapper == null)
     return null;
   return wrapper.managed;
 }
Example #2
0
 public GetValueArrayCallbackWrapper (GetValueArrayCallback managed) {
   this.managed = managed;
   if (managed != null)
     NativeDelegate = new GetValueArrayCallbackNative (NativeCallback);
 }