Class FullRefreshEditHintCollection<TContentData>
Inheritance
System.Object
FullRefreshEditHintCollection<TContentData>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class FullRefreshEditHintCollection<TContentData>
where TContentData : IContentData
Type Parameters
Name | Description |
---|---|
TContentData |
Constructors
FullRefreshEditHintCollection(IList<String>)
Initializes a new instance of the FullRefreshEditHintCollection<TContentData> class.
Declaration
public FullRefreshEditHintCollection(IList<string> fullRefreshHints)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.String> | 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.Collections.Generic.IEnumerable<System.String> |
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.Linq.Expressions.Expression<System.Func<TContentData, TResult>> | contentDataProperty | The content data property. |
Type Parameters
Name | Description |
---|---|
TResult | The type of the result. |