本文整理汇总了C#中IActionProjection类的典型用法代码示例。如果您正苦于以下问题:C# IActionProjection类的具体用法?C# IActionProjection怎么用?C# IActionProjection使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IActionProjection类属于命名空间,在下文中一共展示了IActionProjection类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: PagesContentJavaScriptModuleDescriptor
/// <summary>
/// Initializes a new instance of the <see cref="WidgetsJavaScriptModuleDescriptor" /> class.
/// </summary>
/// <param name="containerModule">The container module.</param>
public PagesContentJavaScriptModuleDescriptor(ModuleDescriptor containerModule)
: base(containerModule, "bcms.pages.content", "/file/bcms-pages/scripts/bcms.pages.content")
{
Links = new IActionProjection[]
{
new JavaScriptModuleLinkTo<ContentController>(this, "loadWidgetsFromCategoryUrl", controller => controller.WidgetCategory("{1}")),
new JavaScriptModuleLinkTo<ContentController>(this, "loadWidgetsUrl", controller => controller.Widgets("{0}")),
new JavaScriptModuleLinkTo<ContentController>(this, "loadAddNewHtmlContentDialogUrl", controller => controller.AddPageContent("{0}", "{1}")),
new JavaScriptModuleLinkTo<ContentController>(this, "insertContentToPageUrl", controller => controller.InsertContentToPage("{0}", "{1}", "{2}")),
new JavaScriptModuleLinkTo<ContentController>(this, "deletePageContentUrl", controller => controller.DeletePageContent("{0}", "{1}", "{2}")),
new JavaScriptModuleLinkTo<ContentController>(this, "editPageContentUrl", controller => controller.EditPageContent("{0}")),
new JavaScriptModuleLinkTo<ContentController>(this, "sortPageContentUrl", controller => controller.SortPageContent(null)),
};
Globalization = new IActionProjection[]
{
new JavaScriptModuleGlobalization(this, "addNewContentDialogTitle", () => PagesGlobalization.AddNewContent_Dialog_Title),
new JavaScriptModuleGlobalization(this, "editContentDialogTitle", () => PagesGlobalization.EditContent_Dialog_Title),
new JavaScriptModuleGlobalization(this, "insertingWidgetInfoMessage", () => PagesGlobalization.AddPageContent_InsertingWidget_Information_Message),
new JavaScriptModuleGlobalization(this, "insertingWidgetInfoHeader", () => PagesGlobalization.AddPageContent_InsertingWidget_Information_Header),
new JavaScriptModuleGlobalization(this, "insertingWidgetErrorMessage", () => PagesGlobalization.AddPageContent_InsertingWidget_Information_Message),
new JavaScriptModuleGlobalization(this, "deleteContentConfirmationTitle", () => PagesGlobalization.DeletePageContent_ConfirmationTitle),
new JavaScriptModuleGlobalization(this, "deleteContentConfirmationMessage", () => PagesGlobalization.DeletePageContent_ConfirmationMessage),
new JavaScriptModuleGlobalization(this, "deleteContentSuccessMessageTitle", () => PagesGlobalization.DeletePageContent_SuccessMessage_Title),
new JavaScriptModuleGlobalization(this, "deleteContentSuccessMessageMessage", () => PagesGlobalization.DeletePageContent_SuccessMessage_Message),
new JavaScriptModuleGlobalization(this, "deleteContentFailureMessageTitle", () => PagesGlobalization.DeletePageContent_FailureMessage_Title),
new JavaScriptModuleGlobalization(this, "deleteContentFailureMessageMessage", () => PagesGlobalization.DeletePageContent_FailureMessage_Message),
new JavaScriptModuleGlobalization(this, "sortPageContentFailureMessageTitle", () => PagesGlobalization.SortPageContent_FailureMessage_Title),
new JavaScriptModuleGlobalization(this, "sortPageContentFailureMessageMessage", () => PagesGlobalization.SortPageContent_FailureMessage_Message),
new JavaScriptModuleGlobalization(this, "errorTitle", () => RootGlobalization.Alert_ErrorTitle),
};
}
示例2: OptionsJsModuleIncludeDescriptor
public OptionsJsModuleIncludeDescriptor(RootModuleDescriptor module)
: base(module, "bcms.options")
{
Links = new IActionProjection[]
{
};
Globalization = new IActionProjection[]
{
new JavaScriptModuleGlobalization(this, "deleteOptionConfirmMessage", () => RootGlobalization.DeleteOption_Confirmation_Message),
new JavaScriptModuleGlobalization(this, "datePickerTooltipTitle", () => RootGlobalization.Date_Picker_Tooltip_Title),
new JavaScriptModuleGlobalization(this, "optionValidationMessage", () => RootGlobalization.Option_Invalid_Message),
new JavaScriptModuleGlobalization(this, "optionTypeText", () => RootGlobalization.OptionTypes_Text_Title),
new JavaScriptModuleGlobalization(this, "optionTypeMultilineText", () => RootGlobalization.OptionTypes_MultilineText_Title),
new JavaScriptModuleGlobalization(this, "optionTypeInteger", () => RootGlobalization.OptionTypes_Integer_Title),
new JavaScriptModuleGlobalization(this, "optionTypeBoolean", () => RootGlobalization.OptionTypes_Boolean_Title),
new JavaScriptModuleGlobalization(this, "optionTypeDateTime", () => RootGlobalization.OptionTypes_DateTime_Title),
new JavaScriptModuleGlobalization(this, "optionTypeFloat", () => RootGlobalization.OptionTypes_Float_Title),
new JavaScriptModuleGlobalization(this, "optionTypeCustom", () => RootGlobalization.OptionTypes_Custom_Title),
new JavaScriptModuleGlobalization(this, "optionTypeJavaScriptUrl", () => RootGlobalization.OptionTypes_JavaScriptUrl_Title),
new JavaScriptModuleGlobalization(this, "optionTypeCssUrl", () => RootGlobalization.OptionTypes_CssUrl_Title),
new JavaScriptModuleGlobalization(this, "invariantLanguage", () => RootGlobalization.InvariantLanguage_Title)
};
}
示例3: WidgetsJavaScriptModuleDescriptor
/// <summary>
/// Initializes a new instance of the <see cref="WidgetsJavaScriptModuleDescriptor" /> class.
/// </summary>
/// <param name="containerModule">The container module.</param>
public WidgetsJavaScriptModuleDescriptor(ModuleDescriptor containerModule)
: base(containerModule, "bcms.pages.widgets", "/file/bcms-pages/scripts/bcms.pages.widgets")
{
Links = new IActionProjection[]
{
new JavaScriptModuleLinkTo<WidgetsController>(this, "loadSiteSettingsWidgetListUrl", c => c.Widgets(null)),
new JavaScriptModuleLinkTo<WidgetsController>(this, "loadCreateHtmlContentWidgetDialogUrl", controller => controller.CreateHtmlContentWidget()),
new JavaScriptModuleLinkTo<WidgetsController>(this, "loadEditHtmlContentWidgetDialogUrl", controller => controller.EditHtmlContentWidget("{0}"))
,
new JavaScriptModuleLinkTo<WidgetsController>(this, "loadCreateServerControlWidgetDialogUrl", controller => controller.CreateServerControlWidget()),
new JavaScriptModuleLinkTo<WidgetsController>(this, "loadEditServerControlWidgetDialogUrl", controller => controller.EditServerControlWidget("{0}")),
new JavaScriptModuleLinkTo<WidgetsController>(this, "deleteWidgetUrl", controller => controller.DeleteWidget("{0}", "{1}")),
new JavaScriptModuleLinkTo<ContentController>(this, "loadPageContentOptionsDialogUrl", controller => controller.PageContentOptions("{0}"))
};
Globalization = new IActionProjection[]
{
new JavaScriptModuleGlobalization(this, "createHtmlContentWidgetDialogTitle", () => PagesGlobalization.CreateHtmlContentWidget_Dialog_Title),
new JavaScriptModuleGlobalization(this, "editAdvancedContentDialogTitle", () => PagesGlobalization.EditWidget_Dialog_Title),
new JavaScriptModuleGlobalization(this, "createWidgetDialogTitle", () => PagesGlobalization.CreateWidget_Dialog_Title),
new JavaScriptModuleGlobalization(this, "editWidgetDialogTitle", () => PagesGlobalization.EditWidget_Dialog_Title),
new JavaScriptModuleGlobalization(this, "editPageWidgetOptionsTitle", () => PagesGlobalization.PageWidgetOptions_Dialog_Title),
new JavaScriptModuleGlobalization(this, "deleteWidgetConfirmMessage", () => PagesGlobalization.DeleteWidget_Confirmation_Message),
new JavaScriptModuleGlobalization(this, "deleteOptionConfirmMessage", () => PagesGlobalization.DeleteOption_Confirmation_Message),
};
}
示例4: CustomValidationJsModuleIncludeDescriptor
public CustomValidationJsModuleIncludeDescriptor(CmsModuleDescriptor module)
: base(module, "bcms.customValidation")
{
Links = new IActionProjection[] {};
Globalization = new IActionProjection[] { };
}
示例5: PagesJsModuleIncludeDescriptor
/// <summary>
/// Initializes a new instance of the <see cref="PagesJsModuleIncludeDescriptor" /> class.
/// </summary>
/// <param name="module">The container module.</param>
public PagesJsModuleIncludeDescriptor(ModuleDescriptor module)
: base(module, "bcms.pages")
{
Links = new IActionProjection[]
{
new JavaScriptModuleLinkTo<PageController>(this, "loadAddNewPageDialogUrl", c => c.AddNewPage("{0}", "{1}")),
new JavaScriptModuleLinkTo<PageController>(this, "loadSiteSettingsPageListUrl", c => c.Pages(null)),
new JavaScriptModuleLinkTo<PageController>(this, "loadSelectPageUrl", c => c.SelectPage(null)),
new JavaScriptModuleLinkTo<PageController>(this, "deletePageConfirmationUrl", c => c.DeletePageConfirmation("{0}")),
new JavaScriptModuleLinkTo<PageController>(this, "changePublishStatusUrl", c => c.ChangePublishStatus(null)),
new JavaScriptModuleLinkTo<PageController>(this, "clonePageDialogUrl", c => c.ClonePage("{0}")),
new JavaScriptModuleLinkTo<PageController>(this, "clonePageWithLanguageDialogUrl", c => c.ClonePageWithLanguage("{0}")),
new JavaScriptModuleLinkTo<PageController>(this, "convertStringToSlugUrl", c => c.ConvertStringToSlug("{0}", "{1}", "{2}", "{3}", "{4}", "{5}"))
};
Globalization = new IActionProjection[]
{
new JavaScriptModuleGlobalization(this, "addNewPageDialogTitle", () => PagesGlobalization.AddNewPage_Dialog_Title),
new JavaScriptModuleGlobalization(this, "addNewMasterPageDialogTitle", () => PagesGlobalization.AddNewMasterPage_PageTitle),
new JavaScriptModuleGlobalization(this, "deletePageDialogTitle", () => PagesGlobalization.DeletePage_Dialog_Title),
new JavaScriptModuleGlobalization(this, "pageDeletedMessage", () => PagesGlobalization.DeletePage_SuccessMessage_Message),
new JavaScriptModuleGlobalization(this, "pageDeletedTitle", () => PagesGlobalization.DeletePage_SuccessMessage_Title),
new JavaScriptModuleGlobalization(this, "clonePageDialogTitle", () => PagesGlobalization.ClonePage_Dialog_Title),
new JavaScriptModuleGlobalization(this, "clonePageWithLanguageDialogTitle", () => PagesGlobalization.ClonePageWithLanguage_Dialog_Title),
new JavaScriptModuleGlobalization(this, "cloneButtonTitle", () => PagesGlobalization.ClonePage_Dialog_CloneButton),
new JavaScriptModuleGlobalization(this, "deleteButtonTitle", () => PagesGlobalization.DeletePage_Dialog_DeleteButton),
new JavaScriptModuleGlobalization(this, "pageStatusChangeConfirmationMessagePublish", () => PagesGlobalization.EditPageProperties_PageStatusChange_ConfirmationMessage_Publish),
new JavaScriptModuleGlobalization(this, "pageStatusChangeConfirmationMessageUnPublish", () => PagesGlobalization.EditPageProperties_PageStatusChange_ConfirmationMessage_UnPublish),
new JavaScriptModuleGlobalization(this, "selectPageDialogTitle", () => PagesGlobalization.SelectPage_Dialog_Title),
new JavaScriptModuleGlobalization(this, "selectPageSelectButtonTitle", () => PagesGlobalization.SelectPage_Select_ButtonTitle),
new JavaScriptModuleGlobalization(this, "pageNotSelectedMessage", () => PagesGlobalization.SelectPage_PageIsNotSelected_Message),
new JavaScriptModuleGlobalization(this, "pagesListTitle", () => PagesGlobalization.Pages_List_Title),
};
}
示例6: TemplatesJsModuleIncludeDescriptor
/// <summary>
/// Initializes a new instance of the <see cref="WidgetsJsModuleIncludeDescriptor" /> class.
/// </summary>
/// <param name="module">The container module.</param>
public TemplatesJsModuleIncludeDescriptor(CmsModuleDescriptor module)
: base(module, "bcms.pages.template")
{
Links = new IActionProjection[]
{
new JavaScriptModuleLinkTo<TemplatesController>(this, "loadSiteSettingsTemplateListUrl", controller => controller.Templates(null)),
new JavaScriptModuleLinkTo<TemplatesController>(this, "loadRegisterTemplateDialogUrl", controller => controller.RegisterTemplate()),
new JavaScriptModuleLinkTo<TemplatesController>(this, "loadEditTemplateDialogUrl", controller => controller.EditTemplate("{0}")),
new JavaScriptModuleLinkTo<TemplatesController>(this, "deleteTemplateUrl", controller => controller.DeleteTemplate("{0}", "{1}")),
new JavaScriptModuleLinkTo<ContentController>(this, "loadTemplateRegionDialogUrl", controller => controller.PageContentOptions("{0}"))
};
Globalization = new IActionProjection[]
{
new JavaScriptModuleGlobalization(this, "createTemplateDialogTitle", () => PagesGlobalization.CreatTemplate_Dialog_Title),
new JavaScriptModuleGlobalization(this, "editTemplateDialogTitle", () => PagesGlobalization.EditTemplate_Dialog_Title),
new JavaScriptModuleGlobalization(this, "editTemplateRegionTitle", () => PagesGlobalization.SiteSettings_TemplatesMenuItem),
new JavaScriptModuleGlobalization(this, "deleteTemplateConfirmMessage", () => PagesGlobalization.SiteSettings_Template_DeleteCategoryMessage),
new JavaScriptModuleGlobalization(this, "deleteRegionConfirmMessage", () => PagesGlobalization.DeleteRegion_Confirmation_Message),
new JavaScriptModuleGlobalization(this, "previewImageNotFoundMessage", () => PagesGlobalization.EditTemplate_PreviewImageNotFound_Message),
new JavaScriptModuleGlobalization(this, "deletingMessage", () => RootGlobalization.Message_Deleting),
new JavaScriptModuleGlobalization(this, "templatesTabTitle", () => PagesGlobalization.SiteSettings_Templates_Title)
};
}
示例7: CategoriesJavaScriptModuleDescriptor
/// <summary>
/// Initializes a new instance of the <see cref="CategoriesJavaScriptModuleDescriptor" /> class.
/// </summary>
/// <param name="module">The container module.</param>
public CategoriesJavaScriptModuleDescriptor(ModuleDescriptor module)
: base(module, "bcms.categories")
{
Links = new IActionProjection[]
{
new JavaScriptModuleLinkTo<CategoryController>(this, "loadSiteSettingsCategoryTreesListUrl", c => c.CategoryTrees(null)),
new JavaScriptModuleLinkTo<CategoryController>(this, "categoryTreeEditDialogUrl", c => c.EditCategoryTree("{0}")),
new JavaScriptModuleLinkTo<CategoryController>(this, "saveCategoryTreeUrl", c => c.SaveCategoryTree(null)),
new JavaScriptModuleLinkTo<CategoryController>(this, "deleteCategoryTreeUrl", c => c.DeleteCategoryTree("{0}", "{1}")),
new JavaScriptModuleLinkTo<CategoryController>(this, "categoriesSuggestionServiceUrl", c => c.SuggestCategories(null))
};
Globalization = new IActionProjection[]
{
new JavaScriptModuleGlobalization(this, "categoryTreeCreatorDialogTitle", () => RootGlobalization.CategoryTree_CreatorDialog_Title),
new JavaScriptModuleGlobalization(this, "categoryTreeEditorDialogTitle", () => RootGlobalization.CategoryTree_EditorDialog_Title),
new JavaScriptModuleGlobalization(this, "nodeOkButton", () => RootGlobalization.Button_Ok),
new JavaScriptModuleGlobalization(this, "placeNodeHere", () => RootGlobalization.CategoryTree_PlaceLinkHere_Message),
new JavaScriptModuleGlobalization(this, "categoryTreeIsEmpty", () => RootGlobalization.CategoryTree_TreeIsEmpty_Message),
new JavaScriptModuleGlobalization(this, "deleteCategoryNodeConfirmationMessage", () => RootGlobalization.CategoryTree_DeleteNode_Confirmation_Message),
new JavaScriptModuleGlobalization(this, "someCategoryNodesAreInEditingState", () => RootGlobalization.CategoryTree_SomeNodesAreInEditingState),
new JavaScriptModuleGlobalization(this, "categoryTreeDeleteConfirmMessage", () => RootGlobalization.CategoryTree_Delete_Confirmation_Message),
};
}
示例8: BlogJsModuleIncludeDescriptor
/// <summary>
/// Initializes a new instance of the <see cref="BlogJsModuleIncludeDescriptor" /> class.
/// </summary>
/// <param name="module">The container module.</param>
public BlogJsModuleIncludeDescriptor(ModuleDescriptor module)
: base(module, "bcms.blog")
{
Links = new IActionProjection[]
{
new JavaScriptModuleLinkTo<BlogController>(this, "loadSiteSettingsBlogsUrl", c => c.Index(null)),
new JavaScriptModuleLinkTo<BlogController>(this, "loadCreateNewPostDialogUrl", c => c.CreateBlogPost("{0}")),
new JavaScriptModuleLinkTo<BlogController>(this, "loadEditPostDialogUrl", c => c.EditBlogPost("{0}")),
new JavaScriptModuleLinkTo<AuthorController>(this, "loadAuthorsTemplateUrl", c => c.ListTemplate()),
new JavaScriptModuleLinkTo<AuthorController>(this, "loadAuthorsUrl", c => c.AuthorsList(null)),
new JavaScriptModuleLinkTo<AuthorController>(this, "deleteAuthorsUrl", c => c.DeleteAuthor(null, null)),
new JavaScriptModuleLinkTo<AuthorController>(this, "saveAuthorsUrl", c => c.SaveAuthor(null)),
new JavaScriptModuleLinkTo<OptionController>(this, "loadTemplatesUrl", c => c.Templates()),
new JavaScriptModuleLinkTo<OptionController>(this, "saveDefaultTemplateUrl", c => c.SaveDefaultTemplate("{0}")),
new JavaScriptModuleLinkTo<BlogController>(this, "convertStringToSlugUrl", c => c.ConvertStringToSlug("{0}", "{1}"))
};
Globalization = new IActionProjection[]
{
new JavaScriptModuleGlobalization(this, "createNewPostDialogTitle", () => BlogGlobalization.CreateNewPost_Dialog_Title),
new JavaScriptModuleGlobalization(this, "editPostDialogTitle", () => BlogGlobalization.EditPost_Dialog_Title),
new JavaScriptModuleGlobalization(this, "deleteBlogDialogTitle", () => BlogGlobalization.DeletePost_Dialog_Title),
new JavaScriptModuleGlobalization(this, "deleteAuthorDialogTitle", () => BlogGlobalization.DeleteAuthor_Confirmation_Message),
new JavaScriptModuleGlobalization(this, "blogPostsTabTitle", () => BlogGlobalization.SiteSettings_Blogs_PostsTab_Title),
new JavaScriptModuleGlobalization(this, "authorsTabTitle", () => BlogGlobalization.SiteSettings_Blogs_AuthorsTab_Title),
new JavaScriptModuleGlobalization(this, "templatesTabTitle", () => BlogGlobalization.SiteSettings_Blogs_TemplatesTab_Title),
new JavaScriptModuleGlobalization(this, "datePickerTooltipTitle", () => BlogGlobalization.Date_Picker_Tooltip_Title)
};
}
示例9: ImageEditorJavaScriptModuleDescriptor
/// <summary>
/// Initializes a new instance of the <see cref="ImageEditorJavaScriptModuleDescriptor" /> class.
/// </summary>
/// <param name="containerModule">The container module.</param>
public ImageEditorJavaScriptModuleDescriptor(ModuleDescriptor containerModule)
: base(containerModule, "bcms.media.imageeditor", "/file/bcms-media/scripts/bcms.media.imageeditor")
{
Links = new IActionProjection[]
{
new JavaScriptModuleLinkTo<ImagesController>(this, "imageEditorDialogUrl", c => c.ImageEditor("{0}")),
new JavaScriptModuleLinkTo<ImagesController>(this, "imageEditorInsertDialogUrl", c => c.ImageEditorInsert("{0}")),
new JavaScriptModuleLinkTo<ImagesController>(this, "imageEditorCroppingDialogUrl", c => c.ImageCropper("{0}")),
new JavaScriptModuleLinkTo<ImagesController>(this, "imageResizeUrl", c => c.ImageResize("{0}", "{1}", "{2}", "{3}")),
};
Globalization = new IActionProjection[]
{
new JavaScriptModuleGlobalization(this, "imageEditorDialogTitle", () => MediaGlobalization.ImageEditor_Dialog_Title),
new JavaScriptModuleGlobalization(this, "imageEditorInsertDialogTitle", () => MediaGlobalization.ImageEditor_InsertDialog_Title),
new JavaScriptModuleGlobalization(this, "imageEditorInsertDialogAcceptButton", () => MediaGlobalization.ImageEditor_InsertDialog_AcceptButton),
new JavaScriptModuleGlobalization(this, "imageEditorUpdateFailureMessageTitle", () => MediaGlobalization.ImageEditor_UpdateFailureMessage_Title),
new JavaScriptModuleGlobalization(this, "imageEditorUpdateFailureMessageMessage", () => MediaGlobalization.ImageEditor_UpdateFailureMessage_Message),
new JavaScriptModuleGlobalization(this, "imageEditorResizeFailureMessageTitle", () => MediaGlobalization.ImageEditor_ResizeFailureMessage_Title),
new JavaScriptModuleGlobalization(this, "imageEditorResizeFailureMessageMessage", () => MediaGlobalization.ImageEditor_ResizeFailureMessage_Message),
new JavaScriptModuleGlobalization(this, "imageEditorCroppingDialogTitle", () => MediaGlobalization.ImageEditor_CroppingDialog_Title),
new JavaScriptModuleGlobalization(this, "imageEditorCropFailureMessageTitle", () => MediaGlobalization.ImageEditor_CropFailureMessage_Title),
new JavaScriptModuleGlobalization(this, "imageEditorCropFailureMessageMessage", () => MediaGlobalization.ImageEditor_CropFailureMessage_Message),
};
}
示例10: HtmlEditorJsModuleIncludeDescriptor
public HtmlEditorJsModuleIncludeDescriptor(RootModuleDescriptor module)
: base(module, "bcms.htmlEditor")
{
Links = new IActionProjection[]
{
};
Globalization = new IActionProjection[]
{
new JavaScriptModuleGlobalization(this, "smartTagPageTitle", () => RootGlobalization.SmartTag_PageTitle_Title),
new JavaScriptModuleGlobalization(this, "smartTagPageUrl", () => RootGlobalization.SmartTag_PageUrl_Title),
new JavaScriptModuleGlobalization(this, "smartTagPageId", () => RootGlobalization.SmartTag_PageId_Title),
new JavaScriptModuleGlobalization(this, "smartTagPageCreatedOn", () => RootGlobalization.SmartTag_PageCreatedOn_Title),
new JavaScriptModuleGlobalization(this, "smartTagPageModifiedOn", () => RootGlobalization.SmartTag_PageModifiedOn_Title),
new JavaScriptModuleGlobalization(this, "smartTagPageOption", () => RootGlobalization.SmartTag_PageOption_Title),
new JavaScriptModuleGlobalization(this, "smartTagWidgetOption", () => RootGlobalization.SmartTag_WidgetOption_Title),
new JavaScriptModuleGlobalization(this, "smartTagPageMetaTitle", () => RootGlobalization.SmartTag_PageMetaTitle_Title),
new JavaScriptModuleGlobalization(this, "smartTagPageMetaKeywords", () => RootGlobalization.SmartTag_PageMetaKeywords_Title),
new JavaScriptModuleGlobalization(this, "smartTagPageMetaDescription", () => RootGlobalization.SmartTag_PageMetaDescription_Title),
new JavaScriptModuleGlobalization(this, "smartTagPageMainImageUrl", () => RootGlobalization.SmartTag_PageMainImageUrl_Title),
new JavaScriptModuleGlobalization(this, "smartTagPageSecondaryImageUrl", () => RootGlobalization.SmartTag_PageSecondaryImageUrl_Title),
new JavaScriptModuleGlobalization(this, "smartTagPageFeaturedImageUrl", () => RootGlobalization.SmartTag_PageFeaturedImageUrl_Title),
new JavaScriptModuleGlobalization(this, "smartTagPageCategory", () => RootGlobalization.SmartTag_PageCategory_Title),
new JavaScriptModuleGlobalization(this, "smartTagBlogAuthor", () => RootGlobalization.SmartTag_BlogAuthor_Title),
new JavaScriptModuleGlobalization(this, "smartTagBlogActivationDate", () => RootGlobalization.SmartTag_BlogActivationDate_Title),
new JavaScriptModuleGlobalization(this, "smartTagBlogExpirationDate", () => RootGlobalization.SmartTag_BlogExpirationDate_Title)
};
}
示例11: AntiXssJsModuleIncludeDescriptor
public AntiXssJsModuleIncludeDescriptor(CmsModuleDescriptor module)
: base(module, "bcms.antiXss")
{
Links = new IActionProjection[] {};
Globalization = new IActionProjection[]
{
new JavaScriptModuleGlobalization(this, "antiXssContainsHtmlError", () => RootGlobalization.AntiXss_Contains_Html_Error)
};
}
示例12: DynamicContentJavaScriptModuleDescriptor
public DynamicContentJavaScriptModuleDescriptor(ModuleDescriptor containerModule)
: base(containerModule, "bcms.dynamicContent", "/file/bcms-root/scripts/bcms.dynamicContent")
{
Links = new IActionProjection[]
{
};
Globalization = new IActionProjection[]
{
};
}
示例13: HtmlEditorJavaScriptModuleDescriptor
public HtmlEditorJavaScriptModuleDescriptor(ModuleDescriptor containerModule)
: base(containerModule, "bcms.htmlEditor", "/file/bcms-root/scripts/bcms.htmlEditor")
{
Links = new IActionProjection[]
{
};
Globalization = new IActionProjection[]
{
};
}
示例14: CategoryJsModuleIncludeDescriptor
public CategoryJsModuleIncludeDescriptor(ModuleDescriptor module)
: base(module, "bcms.faq.category")
{
Links = new IActionProjection[]
{
new JavaScriptModuleLinkTo<CategoryController>(this, "loadSiteSettingsCategoriesUrl", c => c.Index(null)),
new JavaScriptModuleLinkTo<CategoryController>(this, "loadEditCategoryUrl", c=> c.Edit("{0}")),
new JavaScriptModuleLinkTo<CategoryController>(this, "loadCreateCategoryUrl", c=> c.Create()),
new JavaScriptModuleLinkTo<CategoryController>(this, "deleteCategoryUrl", c => c.Delete("{0}", "{1}"))
};
}
示例15: FormsJsModuleIncludeDescriptor
public FormsJsModuleIncludeDescriptor(RootModuleDescriptor module)
: base(module, "bcms.forms")
{
Links = new IActionProjection[]
{
};
Globalization = new IActionProjection[]
{
};
}