Class Root
- Namespace
- The.Web.Composition
- Assembly
- Instagile.Web.Client.dll
public sealed class Root : IServices, IServices, IDisposable
- Inheritance
-
Root
- Implements
- Inherited Members
Constructors
Root(Root, IPreferenceStore, IReminderStore, IReminderSource, IJSRuntime, NavigationManager, Options, IEnumerable<IPageSpec>, IEnumerable<ICommandSpec>, IEnumerable<IListSpec>, IEnumerable<IEditSpec>, IEnumerable<ICriteriaSpec>)
public Root(Root coreServices, IPreferenceStore preferenceStore, IReminderStore reminderStore, IReminderSource reminderSource, IJSRuntime jsRuntime, NavigationManager navigationManager, Options options, IEnumerable<IPageSpec> pageOverrides, IEnumerable<ICommandSpec> commandOverrides, IEnumerable<IListSpec> listOverrides, IEnumerable<IEditSpec> editOverrides, IEnumerable<ICriteriaSpec> criteriaOverrides)
Parameters
coreServicesRootpreferenceStoreIPreferenceStorereminderStoreIReminderStorereminderSourceIReminderSourcejsRuntimeIJSRuntimenavigationManagerNavigationManageroptionsOptionspageOverridesIEnumerable<IPageSpec>commandOverridesIEnumerable<ICommandSpec>listOverridesIEnumerable<IListSpec>editOverridesIEnumerable<IEditSpec>criteriaOverridesIEnumerable<ICriteriaSpec>
Properties
AppName
public string AppName { get; }
Property Value
AppVersion
public string AppVersion { get; }
Property Value
Components
Functions to access built-in entity types added by model features.
public ComponentService Components { get; }
Property Value
Documents
Functions to load and store files or images.
public DocumentService Documents { get; }
Property Value
Environment
public string Environment { get; }
Property Value
Export
public ExportService Export { get; }
Property Value
Import
Functions for copying schema and data from external sources.
public ImportService Import { get; }
Property Value
JS
public IJSRuntime JS { get; }
Property Value
Licensing
public LicenseService Licensing { get; }
Property Value
Logging
public LogService Logging { get; }
Property Value
Functions to send email.
public MailService Mail { get; }
Property Value
Metadata
public EntityMetadataDictionary Metadata { get; }
Property Value
Navigation
public NavigationManager Navigation { get; }
Property Value
Pages
public PageService Pages { get; }
Property Value
Persistence
Functions to load and store entities.
public PersistenceService Persistence { get; }
Property Value
RPC
Functions to execute registered procedures, either locally or via a remote IEndpoint.
public RPCService RPC { get; }
Property Value
Reminders
public ReminderService Reminders { get; }
Property Value
ReplaceSmartPunctuation
public bool ReplaceSmartPunctuation { get; }
Property Value
Scaffolding
public ScaffoldService Scaffolding { get; }
Property Value
Security
public SecurityService Security { get; }
Property Value
Version
public string Version { get; }
Property Value
Methods
CreateContext()
public IEntityContext CreateContext()
Returns
CreateContext(IPrincipal)
public IEntityContext CreateContext(IPrincipal principal)
Parameters
principalIPrincipal
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
GetUserPreferencesAsync()
public Task<PreferenceService> GetUserPreferencesAsync()