Class PropertyDescriptor
Default implemenation of IPropertyDescriptor
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 PropertyDescriptor.
Declaration
public PropertyDescriptor(string name, Type modelType, object model)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the property. |
System.Type | modelType | The type of the property. |
System.Object | model | The value of the property. |
Properties
Model
Gets the value of the property.
Declaration
public object Model { get; }
Property Value
Type | Description |
---|---|
System.Object |
ModelType
Gets the type of the Property.
Declaration
public Type ModelType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Name
Gets the name of the property.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |