当前位置: 首页>>代码示例>>C#>>正文


C# Callback.GenerateAllPagesXML方法代码示例

本文整理汇总了C#中Callback.GenerateAllPagesXML方法的典型用法代码示例。如果您正苦于以下问题:C# Callback.GenerateAllPagesXML方法的具体用法?C# Callback.GenerateAllPagesXML怎么用?C# Callback.GenerateAllPagesXML使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Callback的用法示例。


在下文中一共展示了Callback.GenerateAllPagesXML方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: HandleCallBack


//.........这里部分代码省略.........
                    case CallbackType.NGallery_GetQDSResults:
                        RetVal = OCallback.NGallery_GetQDSResults(RequestParam);
                        break;
                    case CallbackType.NGallery_GetASResults:
                        RetVal = OCallback.NGallery_GetASResults(RequestParam);
                        break;
                    case CallbackType.NGallery_GetMoreKeywords:
                        RetVal = OCallback.NGallery_GetMoreKeywords(RequestParam);
                        break;
                    case CallbackType.GetICTypes:
                        RetVal = OCallback.GetICTypes(RequestParam);
                        break;
                    case CallbackType.GetCategoryScheme:
                        RetVal = OCallback.GetCategoryScheme(RequestParam);
                        break;
                    case CallbackType.AdminAddNewLanguage:
                        RetVal = OCallback.AdminAddNewLanguage(RequestParam);
                        break;
                    case CallbackType.AdminSDMXArtefactsGeneration:
                        RetVal = OCallback.AdminSDMXArtefactsGeneration(RequestParam);
                        break;
                    case CallbackType.RegisterUser:
                        RetVal = OCallback.RegisterUser(RequestParam);
                        break;
                    case CallbackType.LoginUser:
                        RetVal = OCallback.LoginUser(RequestParam, false);
                        break;
                    case CallbackType.AdminGetAllLanguageList:
                        RetVal = OCallback.AdminGetAllLanguageList();
                        break;
                    case CallbackType.AdminDeleteLanguage:
                        RetVal = OCallback.AdminDeleteLanguage(RequestParam);
                        break;
                    case CallbackType.GenerateAllPagesXML:
                        RetVal = OCallback.GenerateAllPagesXML();
                        break;
                    case CallbackType.AddRegistration:
                        RetVal = OCallback.AddRegistration(RequestParam);
                        break;
                    case CallbackType.GetRegistrationsSummary:
                        RetVal = OCallback.GetRegistrationsSummary(RequestParam);
                        break;
                    case CallbackType.GetRegistrationDetails:
                        RetVal = OCallback.GetRegistrationDetails(RequestParam);
                        break;
                    case CallbackType.UpdateRegistration:
                        RetVal = OCallback.UpdateRegistration(RequestParam);
                        break;
                    case CallbackType.DeleteRegistration:
                        RetVal = OCallback.DeleteRegistration(RequestParam);
                        break;
                    case CallbackType.SendNotifications:
                        RetVal = OCallback.SendNotifications(RequestParam);
                        break;
                    case CallbackType.GetLoggedInUserSubscriptions:
                        RetVal = OCallback.GetLoggedInUserSubscriptions(RequestParam);
                        break;
                    case CallbackType.UpdateSubscription:
                        RetVal = OCallback.UpdateSubscription(RequestParam);
                        break;
                    case CallbackType.DeleteSubscription:
                        RetVal = OCallback.DeleteSubscription(RequestParam);
                        break;
                    case CallbackType.GetEmailIdOfLoggedInUser:
                        RetVal = OCallback.GetEmailIdOfLoggedInUser(RequestParam);
                        break;
开发者ID:SDRC-India,项目名称:sdrcdevinfo,代码行数:67,代码来源:Callback.aspx.cs

示例2: UpdateLanguageFiles

    /// <summary>
    /// Get all the new keys
    /// Add new keys to master language files
    /// Genarate page xml for all languages
    /// </summary>
    /// <returns>True if key aadded and language files updated successfully, else return false</returns>
    public bool UpdateLanguageFiles()
    {
        bool RetVal = false;
        Callback Callback = null;
        bool IsGeneratelog = false;

        // Check if keys have been added to language file
        if (this.AddKeysToLangFile())
        {
            Callback = new Callback();
            // IsGeneratelog is a optional parameter, for checking whether to make an entry in patch log file
            // by default its value is false
            // While generating log file, at the patch installation step need to make entry in patch log file
            // so setvalue of IsGeneratelog to true,

            IsGeneratelog = true;
            // call method to optimize language file
            if (Callback.GenerateAllPagesXML(IsGeneratelog) == "true")
            {// language files generated successfully return true
                RetVal = true;
            }
            else
            {// If language files generation failed return true
                RetVal = false;
            }
        }// else set return value to false
        else
        {
            RetVal = false;
        }
        return RetVal;
    }
开发者ID:SDRC-India,项目名称:sdrcdevinfo,代码行数:38,代码来源:PatchInstaller.cs


注:本文中的Callback.GenerateAllPagesXML方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。