本文整理汇总了C#中IActionProjection类的典型用法代码示例。如果您正苦于以下问题:C# IActionProjection类的具体用法?C# IActionProjection怎么用?C# IActionProjection使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IActionProjection类属于命名空间,在下文中一共展示了IActionProjection类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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),
};
}
开发者ID:pmaciulis,项目名称:BetterCMS,代码行数:39,代码来源:PagesContentJavaScriptModuleDescriptor.cs
示例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)
};
}
开发者ID:vivekmalikymca,项目名称:BetterCMS,代码行数:27,代码来源:OptionsJsModuleIncludeDescriptor.cs
示例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),
};
}
开发者ID:pmaciulis,项目名称:BetterCMS,代码行数:30,代码来源:WidgetsJavaScriptModuleDescriptor.cs
示例4: CustomValidationJsModuleIncludeDescriptor
public CustomValidationJsModuleIncludeDescriptor(CmsModuleDescriptor module)
: base(module, "bcms.customValidation")
{
Links = new IActionProjection[] {};
Globalization = new IActionProjection[] { };
}
开发者ID:wezmag,项目名称:BetterCMS,代码行数:7,代码来源:CustomValidationJsModuleIncludeDescriptor.cs
示例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),
};
}
开发者ID:Steinerd,项目名称:BetterCMS,代码行数:38,代码来源:PagesJsModuleIncludeDescriptor.cs
示例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)
};
}
开发者ID:vivekmalikymca,项目名称:BetterCMS,代码行数:29,代码来源:TemplatesJsModuleIncludeDescriptor.cs
示例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),
};
}
开发者ID:Steinerd,项目名称:BetterCMS,代码行数:29,代码来源:CategoriesJavaScriptModuleDescriptor.cs
示例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)
};
}
开发者ID:tkirda,项目名称:BetterCMS,代码行数:33,代码来源:BlogJsModuleIncludeDescriptor.cs
示例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),
};
}
开发者ID:pmaciulis,项目名称:BetterCMS,代码行数:29,代码来源:ImageEditorJavaScriptModuleDescriptor.cs
示例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)
};
}
开发者ID:vivekmalikymca,项目名称:BetterCMS,代码行数:29,代码来源:HtmlEditorJsModuleIncludeDescriptor.cs
示例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)
};
}
开发者ID:wezmag,项目名称:BetterCMS,代码行数:10,代码来源:AntiXssJsModuleIncludeDescriptor.cs
示例12: DynamicContentJavaScriptModuleDescriptor
public DynamicContentJavaScriptModuleDescriptor(ModuleDescriptor containerModule)
: base(containerModule, "bcms.dynamicContent", "/file/bcms-root/scripts/bcms.dynamicContent")
{
Links = new IActionProjection[]
{
};
Globalization = new IActionProjection[]
{
};
}
开发者ID:pmaciulis,项目名称:BetterCMS,代码行数:11,代码来源:DynamicContentJavaScriptModuleDescriptor.cs
示例13: HtmlEditorJavaScriptModuleDescriptor
public HtmlEditorJavaScriptModuleDescriptor(ModuleDescriptor containerModule)
: base(containerModule, "bcms.htmlEditor", "/file/bcms-root/scripts/bcms.htmlEditor")
{
Links = new IActionProjection[]
{
};
Globalization = new IActionProjection[]
{
};
}
开发者ID:pmaciulis,项目名称:BetterCMS,代码行数:11,代码来源:HtmlEditorJavaScriptModuleDescriptor.cs
示例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}"))
};
}
开发者ID:valendo,项目名称:fataco,代码行数:11,代码来源:CategoryJsModuleIncludeDescriptor.cs
示例15: FormsJsModuleIncludeDescriptor
public FormsJsModuleIncludeDescriptor(RootModuleDescriptor module)
: base(module, "bcms.forms")
{
Links = new IActionProjection[]
{
};
Globalization = new IActionProjection[]
{
};
}
开发者ID:wezmag,项目名称:BetterCMS,代码行数:11,代码来源:FormsJsModuleIncludeDescriptor.cs
示例16: TooltipJsModuleIncludeDescriptor
public TooltipJsModuleIncludeDescriptor(RootModuleDescriptor module)
: base(module, "bcms.tooltip")
{
Links = new IActionProjection[]
{
};
Globalization = new IActionProjection[]
{
};
}
开发者ID:wezmag,项目名称:BetterCMS,代码行数:11,代码来源:TooltipJsModuleIncludeDescriptor.cs
示例17: CodeEditorJsModuleIncludeDescriptor
public CodeEditorJsModuleIncludeDescriptor(RootModuleDescriptor module)
: base(module, "bcms.codeEditor")
{
Links = new IActionProjection[]
{
};
Globalization = new IActionProjection[]
{
};
}
开发者ID:wezmag,项目名称:BetterCMS,代码行数:11,代码来源:CodeEditorJsModuleIncludeDescriptor.cs
示例18: FaqJsModuleIncludeDescriptor
public FaqJsModuleIncludeDescriptor(ModuleDescriptor module)
: base(module, "bcms.faq")
{
Links = new IActionProjection[]
{
new JavaScriptModuleLinkTo<FaqController>(this, "loadSiteSettingsFaqUrl", c => c.Index(null)),
new JavaScriptModuleLinkTo<FaqController>(this, "loadEditFaqUrl", c=> c.Edit("{0}")),
new JavaScriptModuleLinkTo<FaqController>(this, "loadCreateFaqUrl", c=> c.Create()),
new JavaScriptModuleLinkTo<FaqController>(this, "deleteFaqUrl", c => c.Delete("{0}", "{1}"))
};
}
开发者ID:valendo,项目名称:fataco,代码行数:11,代码来源:FaqJsModuleIncludeDescriptor.cs
示例19: NewsJsModuleIncludeDescriptor
public NewsJsModuleIncludeDescriptor(ModuleDescriptor module)
: base(module, "bcms.news")
{
Links = new IActionProjection[]
{
new JavaScriptModuleLinkTo<NewsController>(this, "loadSiteSettingsNewsUrl", c => c.Index(null)),
new JavaScriptModuleLinkTo<NewsController>(this, "loadEditNewsUrl", c=> c.EditNews("{0}")),
new JavaScriptModuleLinkTo<NewsController>(this, "loadCreateNewsUrl", c=> c.CreateNews()),
new JavaScriptModuleLinkTo<NewsController>(this, "deleteNewsUrl", c => c.DeleteNews("{0}", "{1}"))
};
}
开发者ID:valendo,项目名称:fataco,代码行数:11,代码来源:NewsJsModuleIncludeDescriptor.cs
示例20: ProductJsModuleIncludeDescriptor
public ProductJsModuleIncludeDescriptor(ModuleDescriptor module)
: base(module, "bcms.product")
{
Links = new IActionProjection[]
{
new JavaScriptModuleLinkTo<ProductController>(this, "loadSiteSettingsProductsUrl", c => c.Index(null)),
new JavaScriptModuleLinkTo<ProductController>(this, "loadEditProductUrl", c=> c.EditProduct("{0}")),
new JavaScriptModuleLinkTo<ProductController>(this, "loadCreateProductUrl", c=> c.CreateProduct()),
new JavaScriptModuleLinkTo<ProductController>(this, "deleteProductUrl", c => c.DeleteProduct("{0}", "{1}"))
};
}
开发者ID:valendo,项目名称:fataco,代码行数:11,代码来源:ProductJsModuleIncludeDescriptor.cs
注:本文中的IActionProjection类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论