mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 13:33:34 +08:00
Overloading ContentPart to optionally have new shape passed in
If lambda takes an argument, it is dynamic, and is an uninitialized shape of the named type ShapeHelper and IShapeHelperFactory are obsolete - IShapeFactory itself is now dynamic --HG-- branch : dev
This commit is contained in:
@@ -21,15 +21,13 @@ namespace Orchard.Core.Settings.Controllers {
|
||||
public AdminController(
|
||||
ISiteService siteService,
|
||||
IOrchardServices services,
|
||||
ICultureManager cultureManager,
|
||||
IShapeHelperFactory shapeHelperFactory) {
|
||||
ICultureManager cultureManager) {
|
||||
_siteService = siteService;
|
||||
_cultureManager = cultureManager;
|
||||
Services = services;
|
||||
T = NullLocalizer.Instance;
|
||||
}
|
||||
|
||||
dynamic Shape { get; set; }
|
||||
public Localizer T { get; set; }
|
||||
|
||||
public ActionResult Index(string tabName) {
|
||||
|
Reference in New Issue
Block a user