mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-02 11:44:41 +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;
|
ShapeDescriptor shapeDescriptor;
|
||||||
defaultShapeTable.Descriptors.TryGetValue(shapeType, out shapeDescriptor);
|
defaultShapeTable.Descriptors.TryGetValue(shapeType, out shapeDescriptor);
|
||||||
|
|
||||||
|
parameters = parameters ?? Arguments.Empty();
|
||||||
|
|
||||||
var creatingContext = new ShapeCreatingContext {
|
var creatingContext = new ShapeCreatingContext {
|
||||||
New = this,
|
New = this,
|
||||||
ShapeFactory = this,
|
ShapeFactory = this,
|
||||||
|
|||||||
Reference in New Issue
Block a user