mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Defaulting DefaultShapeFactory named parameters
--HG-- branch : 1.x
This commit is contained in:
@@ -36,6 +36,8 @@ namespace Orchard.DisplayManagement.Implementation {
|
||||
ShapeDescriptor shapeDescriptor;
|
||||
defaultShapeTable.Descriptors.TryGetValue(shapeType, out shapeDescriptor);
|
||||
|
||||
parameters = parameters ?? Arguments.Empty();
|
||||
|
||||
var creatingContext = new ShapeCreatingContext {
|
||||
New = this,
|
||||
ShapeFactory = this,
|
||||
|
Reference in New Issue
Block a user