Interface IBlock
INTERNAL: A unit / block of output in a CMS.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public interface IBlock : IAppIdentity, IZoneIdentity, IAppIdentityLight
- Inherited Members
Properties
App
The app this block is running in
IApp App { get; }
Property Value
AppOrNull
IApp? AppOrNull { get; }
Property Value
ConfigurationIsReady
bool ConfigurationIsReady { get; }
Property Value
Context
The context we're running in, with tenant, container etc.
IContextOfBlock Context { get; }
Property Value
- IContextOfBlock
Data
The DataSource which delivers data for this block (will be used by the IEngine together with the View)
IDataSource Data { get; }
Property Value
DataIsReady
bool DataIsReady { get; }
Property Value
DependentApps
This list is only populated on the root builder. Child builders don't actually use this.
List<IDependentApp> DependentApps { get; }
Property Value
- List<IDependentApp>
Remarks
Must be a real List, because we will add things to it later. In the future, should be modified to be read only list, but only once rendering has been improved to pass the data around in a better way.
IsInnerBlock
bool IsInnerBlock { get; }
Property Value
View
The view which will be used to render this block
IView View { get; }
Property Value
- IView
ViewIsReady
bool ViewIsReady { get; }