Class FullRefreshEditHintCollection<TContentData>
Helps to refresh property that needs full refresh in edit mode.
Inheritance
System.Object
FullRefreshEditHintCollection<TContentData>
Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNetCore.Templating.dll
Version: 12.0.3Syntax
public class FullRefreshEditHintCollection<TContentData> : Object where TContentData : IContentData
Type Parameters
Name | Description |
---|---|
TContentData | The properties |
Constructors
FullRefreshEditHintCollection(IList<String>)
Initializes a new instance of the FullRefreshEditHintCollection<TContentData> class.
Declaration
public FullRefreshEditHintCollection(IList<string> fullRefreshHints)
Parameters
Type | Name | Description |
---|---|---|
System. |
fullRefreshHints | The full refresh hints. |
Properties
FullRefreshProperties
Gets the list containing the names of properties that have been registered for full refresh.
Declaration
public IEnumerable<string> FullRefreshProperties { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
AddFullRefreshFor<TResult>(Expression<Func<TContentData, TResult>>)
Adds a property to the collection of properties that needs full refresh in edit mode.
Declaration
public void AddFullRefreshFor<TResult>(Expression<Func<TContentData, TResult>> contentDataProperty)
Parameters
Type | Name | Description |
---|---|---|
System. |
contentDataProperty | The content data property. |
Type Parameters
Name | Description |
---|---|
TResult | The type of the result. |