Class PropertyDescriptor
Default implemenation of IProperty
Inheritance
System.Object
PropertyDescriptor
Implements
Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNetCore.Templating.dll
Version: 12.0.3Syntax
public class PropertyDescriptor : Object, IPropertyDescriptor
Constructors
PropertyDescriptor(String, Type, Object)
Creates a new instance of Property
Declaration
public PropertyDescriptor(string name, Type modelType, object model)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the property. |
System. |
modelType | The type of the property. |
System. |
model | The value of the property. |
Properties
Model
Gets the value of the property.
Declaration
public object Model { get; }
Property Value
Type | Description |
---|---|
System. |
ModelType
Gets the type of the Property.
Declaration
public Type ModelType { get; }
Property Value
Type | Description |
---|---|
System. |
Name
Gets the name of the property.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System. |