コード例 #1
0
        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);
        }
コード例 #2
0
 public AliyunMessageQueueFactory(AliyunMessageQueueFactoryOptions options)
 {
     _factory         = new ONSFactory();
     _factoryInstance = _factory.getInstance();
     _factoryProperty = GetOnsFactoryProperty(options);
 }
コード例 #3
0
 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);
 }