public static ONSFactoryAPI getInstance() { global::System.IntPtr cPtr = ONSClient4CPPPINVOKE.ONSFactory_getInstance(); ONSFactoryAPI ret = (cPtr == global::System.IntPtr.Zero) ? null : new ONSFactoryAPI(cPtr, false); return(ret); }
public AliyunMessageQueueFactory(AliyunMessageQueueFactoryOptions options) { _factory = new ONSFactory(); _factoryInstance = _factory.getInstance(); _factoryProperty = GetOnsFactoryProperty(options); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ONSFactoryAPI obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }