Interface ICmsView<TSettings, TResources>
Special Views for strongly typed code. It supplies the Settings and Resources as strongly typed objects.
[PublicApi]
public interface ICmsView<out TSettings, out TResources> : ICmsView, IHasMetadata where TSettings : class, ITypedItem, ITypedItemWrapper16, new() where TResources : class, ITypedItem, ITypedItemWrapper16, new()
Type Parameters
TSettings
Custom class for Settings
TResources
Custom class for Resources
- Inherited Members
Remarks
New v17.03
Properties
Resources
All the app resources (usually used for multi-language labels etc.). /// These are typed - typically to AppCode.Data.AppResources
TResources Resources { get; }
Property Value
- TResources
Settings
All the app settings which are custom for each app. These are typed - typically to AppCode.Data.AppSettings
TSettings Settings { get; }
Property Value
- TSettings