コード例 #1
0
        internal static AppOptionsInternal AppOptionsLoadFromJsonConfig(string config)
        {
            IntPtr             intPtr = AppUtilPINVOKE.AppOptionsLoadFromJsonConfig(config);
            AppOptionsInternal result = (!(intPtr == IntPtr.Zero)) ? new AppOptionsInternal(intPtr, true) : null;

            if (AppUtilPINVOKE.SWIGPendingException.Pending)
            {
                throw AppUtilPINVOKE.SWIGPendingException.Retrieve();
            }
            return(result);
        }