IOrchardServicesNew - свойство |
Shape factory
Пространство имён:
Orchard
Сборка:
EleWise.ELMA.SDK.Web (в EleWise.ELMA.SDK.Web.dll) Версия: 1.0.0.0
СинтаксисЗначение свойства
Тип:
Object
Примеры
dynamic shape = New.ShapeName(Parameter: myVar)
Now the shape can used in various ways, like returning it from a controller action
inside a ShapeResult or adding it to the Layout shape.
Inside the shape template (ShapeName.cshtml) the parameters can be accessed as follows:
@Model.Parameter
См. также