private dynamic CreateItemShape(string actualShapeType) { var zoneHoldingBehavior = new ZoneHoldingBehavior((Func <dynamic>)(() => _shapeFactory.Create("ContentZone", Arguments.Empty())), _workContextAccessor.GetContext().Layout); return(_shapeFactory.Create(actualShapeType, Arguments.Empty(), new[] { zoneHoldingBehavior })); }
private dynamic CreateItemShape(string actualShapeType) { var zoneHoldingBehavior = new ZoneHoldingBehavior(() => _shapeFactory.Create("ContentZone", Arguments.Empty())); return(_shapeFactory.Create(actualShapeType, Arguments.Empty(), new[] { zoneHoldingBehavior })); }