### OnStartup in C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.StandardPrismApplication.html Raises the System.Windows.Application.Startup event. This method is called when the application is starting and can be used to perform initial setup before the main window is displayed. ```csharp protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); } ``` -------------------------------- ### Setup Method Signature (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Menus.ItemModels.MenuBaseModel.Setup.html This is the C# method signature for the Setup() method, which is part of the Innova.Prism.Library.Menus.ItemModels class. This method is responsible for setting up menu items. ```csharp public virtual void Setup() ``` -------------------------------- ### Start Method Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Services.CleanFolderServiceLifecycle.Start.html Starts the Innova Prism Library service. ```APIDOC ## Start(CancellationToken) ### Description Starts the service. ### Method POST ### Endpoint /Start ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body - **cancellationToken** (CancellationToken) - Required - The cancellation token. ### Request Example ```json { "cancellationToken": "cancellation-token-value" } ``` ### Response #### Success Response (200) - **Task** (Task) - A task that represents the asynchronous operation. #### Response Example ```json { "result": "task-completed" } ``` ``` -------------------------------- ### Setup Method Signature (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Menus.ItemModels.IMenuBaseModel.Setup.html This is the method signature for the Setup() method, which is responsible for setting up a menu item within the Innova Developer Platform. The method is part of the Innova.Prism.Library.Menus.ItemModels namespace. ```csharp void Setup() ``` -------------------------------- ### Setup Menu Model - C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Menus.ItemModels.MenuModelEntity-1.Setup.html This C# code snippet defines the Setup() method, which is responsible for initializing the menu model within the Innova Developer Platform. It overrides a base method and is part of the Innova.Prism.Library.Menus.ItemModels namespace. ```csharp public override void Setup() { } ``` -------------------------------- ### Start Method Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.Security.Builder.SecurityBuilderServiceLifecycle.Start.html Starts the Innova.Data.Security.Builder service. ```APIDOC ## Start(CancellationToken) ### Description Starts the service. ### Method Public ### Endpoint N/A ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```json { "message": "No request body for this method." } ``` ### Response #### Success Response (200) - **Task** (Task) - A task that represents the asynchronous operation. #### Response Example ```json { "message": "Operation successful. Returns a Task." } ``` ``` -------------------------------- ### Service Start API Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Configuration.UI.VisibilityServiceLifecycle.Start.html Provides details on starting the visibility service within the Innova Developer Platform. ```APIDOC ## Start(CancellationToken) ### Description Starts the visibility service. ### Method `public Task Start(CancellationToken cancellationToken = default)` ### Endpoint N/A (This is a library method, not a REST endpoint) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```csharp // Example usage within a C# application // Assuming 'service' is an instance of the relevant class await service.Start(cancellationToken); ``` ### Response #### Success Response (Task) Returns a `Task` representing the asynchronous operation. #### Response Example ```csharp // The task itself represents the completion of the operation. // No specific JSON response for this method. ``` ``` -------------------------------- ### Start Method API Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.ClassDefinitions.SingleInstancePipes.Start.html Documentation for the Start method, which initiates the named pipe server and awaits a connection. ```APIDOC ## Start(CancellationToken) ### Description Starts the named pipe server and waits for a connection. ### Method Public Task ### Endpoint N/A (This is a method within a library, not a REST endpoint) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (Task) Represents the asynchronous operation of starting the server. #### Response Example ```csharp // Example usage: var cancellationToken = new CancellationToken(); await Innova.Prism.Library.ClassDefinitions.Start(cancellationToken); ``` #### Parameters `cancellationToken` (CancellationToken) - The cancellation token to cancel the operation. ``` -------------------------------- ### Start Service Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.NLogExtensions.NlogServiceLifecycle.Start.html Provides information on how to start the Innova service asynchronously. ```APIDOC ## Start(CancellationToken) ### Description Starts the service asynchronously. ### Method Task ### Endpoint N/A (This is a library method, not a REST endpoint) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```csharp // Example usage within C# code: var innovaService = new Innova.NLogExtensions(); await innovaService.Start(cancellationToken); ``` ### Response #### Success Response (200) Indicates the service has started successfully. #### Response Example (Asynchronous operation, no direct response body) ### Errors Does not specify explicit error responses for this library method. ``` -------------------------------- ### Starting Property Definition in C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Security.DirectoryScopeOptions.Starting.html This C# code defines a public boolean property named 'Starting' which can be both read and set. This property is part of the Innova.Prism.Library.Security namespace and is likely used to control an initial state or status within the security library. ```csharp public bool Starting { get; set; } ``` -------------------------------- ### Service Start API Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Abstractions.Builder.IServiceLifecycle.Start.html Provides the endpoint for starting the Innova Developer Platform service. It includes details on parameters, request, and response. ```APIDOC ## POST /innovait-dk/idplearn/Start ### Description Starts the Innova Developer Platform service. ### Method POST ### Endpoint /innovait-dk/idplearn/Start ### Parameters #### Query Parameters - **cancellationToken** (CancellationToken) - Optional - Propagates notification that operations should be canceled. ### Request Example ```json { "cancellationToken": null } ``` ### Response #### Success Response (200) - **Task** (Task) - A task that represents the asynchronous operation. #### Response Example ```json { "IsCompleted": true } ``` ``` -------------------------------- ### Log Application Start Event (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Infrastructure.Logging.ILoggerExtensions.LogApplicationStart.html Logs the application start event using the provided ILogger instance. This method is an extension method for ILogger, simplifying the logging process for application startup. ```csharp public static void LogApplicationStart(this ILogger logger) ``` -------------------------------- ### OnInitialized in C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.StandardPrismApplication.html Contains actions that should occur after the application has been initialized. This is typically used for final setup tasks or starting the application's main workflow. ```csharp protected virtual void OnInitialized() { // Contains actions that should occur last. } ``` -------------------------------- ### C# Service Start Method Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Abstractions.Builder.IServiceLifecycle.Start.html This C# code defines the asynchronous 'Start' method for a service within the Innova.Data.dll assembly. It accepts an optional CancellationToken to manage operation cancellation. The method returns a Task representing the asynchronous start operation. ```csharp Task Start(CancellationToken cancellationToken = default) ``` -------------------------------- ### StartAll Service Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Abstractions.Builder.ServiceLifecycleManager.StartAll.html Starts all services within the Innova Developer Platform. This operation can be cancelled. ```APIDOC ## StartAll Service ### Description Starts all services within the Innova Developer Platform. This operation is asynchronous and can be cancelled using a CancellationToken. ### Method POST ### Endpoint /innovait-dk/idplearn/api/services/start ### Parameters #### Query Parameters - **cancellationToken** (CancellationToken) - Optional - A token that may be used to cancel the start operation. ### Request Example ```json { "message": "Request to start all services" } ``` ### Response #### Success Response (200) - **status** (string) - Indicates the status of the operation, e.g., "success". - **message** (string) - A confirmation message, e.g., "All services started successfully." #### Response Example ```json { "status": "success", "message": "All services started successfully." } ``` ``` -------------------------------- ### Get Guid from TempTableDataReader Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.TempTableDataReader.html Retrieves the GUID value of a specified field from the TempTableDataReader. This method is part of the data access layer for Innova's data handling. ```csharp public Guid GetGuid(int i) { // Implementation details to retrieve GUID throw new NotImplementedException(); } ``` -------------------------------- ### Id Property (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.StructuredSearch.EntitySavedQuery.Id.html This C# code defines the 'Id' property within the Innova.Data.StructuredSearch namespace. It allows getting or setting a nullable Guid value, representing the ID of a saved query. The property's value is of type Guid?. ```csharp public Guid? Id { get; set; } ``` -------------------------------- ### Start UserSettingsService - C# Method Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.AppSettings.Services.UserSettingsServiceLifecycle.html Implements the Start method for the UserSettingsServiceLifecycle class in C#. This method is responsible for initiating the service and its operations, utilizing a CancellationToken for managing asynchronous execution. ```csharp public Task Start(CancellationToken cancellationToken) ``` -------------------------------- ### Example: Get and Set Connection String (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.Entity.ISqlConnectionOption.ConnectionString.html Demonstrates how to retrieve and set the connection string for the Innova Developer Platform. This property is of type string and is essential for establishing data connections. ```csharp string ConnectionString { get; set; } ``` -------------------------------- ### RoleGuid Property Definition - C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.Security.ApplicationRole.RoleGuid.html This C# code defines the RoleGuid property, which is a Guid type. It is used to get or set the unique identifier for a role within the Innova Developer Platform's security namespace. ```csharp public Guid RoleGuid { get; set; } ``` -------------------------------- ### ___RevisionID___ Property Declaration - C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.Revision.BaseRevision.___RevisionID___.html This C# code defines the public property ___RevisionID___ within the Innova Developer Platform. It allows for getting and setting a revision identifier, which is of type Guid. This is a core component for managing revisions in the data layer. ```csharp public Guid ___RevisionID___ { get; set; } ``` -------------------------------- ### Get Quarter Expression for Date Property Filtering (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.StructuredSearch.Operators.OperatorUtility.html Generates a LINQ expression to filter records based on the quarter of a date property. It supports filtering by a specific quarter or a range of quarters defined by start and end months. This method is part of the OperatorUtility class. ```csharp public static Expression> GetQuarterExpression(ParameterExpression parameterExpression, Expression propertyExpression, object startQuarter, object endQuarter) { // Implementation details for generating the quarter expression throw new NotImplementedException(); } public static Expression> GetQuarterExpression(ParameterExpression parameterExpression, string propertyName, object startQuarter, object endQuarter) { // Implementation details for generating the quarter expression using property name throw new NotImplementedException(); } ``` -------------------------------- ### ObjSel._DSOP_INIT_INFO Class Documentation Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Security.LowLevel.ObjSel._DSOP_INIT_INFO.html Documentation for the ObjSel._DSOP_INIT_INFO class, a managed helper for ObjSel.DSOP_INIT_INFO. ```APIDOC ## Class ObjSel._DSOP_INIT_INFO ### Description A managed helper for [ObjSel.DSOP_INIT_INFO](Innova.Prism.Library.Security.LowLevel.ObjSel.DSOP_INIT_INFO.html) to compensate for the [Marshal](https://learn.microsoft.com/dotnet/api/system.runtime.interopservices.marshal)'s incompetence. It's probably not a final solution. ### Namespace Innova.Prism.Library.Security.LowLevel ### Inheritance object ### Fields #### Struct - **Struct** (Innova.Prism.Library.Security.LowLevel.ObjSel._DSOP_INIT_INFO.Struct.html) - The actual structure that the unmanaged interfaces work with. ### Properties #### aDsScopeInfos - **aDsScopeInfos** (Innova.Prism.Library.Security.LowLevel.ObjSel._DSOP_INIT_INFO.aDsScopeInfos.html#Innova_Prism_Library_Security_LowLevel_ObjSel__DSOP_INIT_INFO_aDsScopeInfos) - Provides easy access to the scopes array. Takes care of cleaning up, too. Don't mess with [aDsScopeInfos](Innova.Prism.Library.Security.LowLevel.ObjSel.DSOP_INIT_INFO.aDsScopeInfos.html) or [cDsScopeInfos](Innova.Prism.Library.Security.LowLevel.ObjSel.DSOP_INIT_INFO.cDsScopeInfos.html) if you use this! #### apwzAttributeNames - **apwzAttributeNames** (Innova.Prism.Library.Security.LowLevel.ObjSel._DSOP_INIT_INFO.apwzAttributeNames.html#Innova_Prism_Library_Security_LowLevel_ObjSel__DSOP_INIT_INFO_apwzAttributeNames) - Provides easy access to the attribute names array. Takes care of cleaning up, too. Don't mess with [apwzAttributeNames](Innova.Prism.Library.Security.LowLevel.ObjSel.DSOP_INIT_INFO.apwzAttributeNames.html) or [cAttributesToFetch](Innova.Prism.Library.Security.LowLevel.ObjSel.DSOP_INIT_INFO.cAttributesToFetch.html) if you use this! ### Methods #### ~_DSOP_INIT_INFO() - **~_DSOP_INIT_INFO()** (Innova.Prism.Library.Security.LowLevel.ObjSel._DSOP_INIT_INFO.Finalize.html#Innova_Prism_Library_Security_LowLevel_ObjSel__DSOP_INIT_INFO_Finalize) - Unmanaged stuff clean up. ``` -------------------------------- ### Learn Innova Developer Platform Theming Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Styles.WindowsMenuImages.Clear_Keyname.html Information on how the Learn Innova Developer Platform handles theme settings using local storage and system preferences. ```APIDOC ## GET /api/theming/settings ### Description Retrieves the current theme settings for the Learn Innova Developer Platform. ### Method GET ### Endpoint /api/theming/settings ### Parameters #### Query Parameters None #### Request Body None ### Request Example ```json { "example": "" } ``` ### Response #### Success Response (200) - **theme** (string) - The current theme setting ('light', 'dark', or 'auto'). #### Response Example ```json { "theme": "auto" } ``` ``` -------------------------------- ### Get Starts With Expression for String Property Filtering (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.StructuredSearch.Operators.OperatorUtility.html Creates a LINQ expression to check if a string property value begins with a specified filter value. This is useful for implementing search functionalities like autocomplete or prefix matching. It's available in two overloads within the OperatorUtility class. ```csharp public static Expression> GetStartsWithExpression(ParameterExpression parameterExpression, Expression propertyExpression, object value) { // Implementation details for generating the starts with expression throw new NotImplementedException(); } public static Expression> GetStartsWithExpression(ParameterExpression parameterExpression, string propertyName, object value) { // Implementation details for generating the starts with expression using property name throw new NotImplementedException(); } ``` -------------------------------- ### QuickFindNavigationService Constructor (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Search.Models.QuickFindNavigationService-1.-ctor.html This C# code defines the constructor for the QuickFindNavigationService. It takes an IEventAggregator, IWindowDialogService, IEntityService, and ILogger> as parameters for dependency injection. ```csharp public QuickFindNavigationService(IEventAggregator eventAggregator, IWindowDialogService dialogService, IEntityService entityService, ILogger> logger) { // Constructor implementation would go here } ``` -------------------------------- ### ServerApplicationSettingService Methods Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Rest.Server.ServerApplicationSettingService-1.html This section details the methods available for the ServerApplicationSettingService, which manages application settings on the server. ```APIDOC ## ServerApplicationSettingService Methods ### Description Provides methods for retrieving, loading, and saving application settings of a specified type `T` on the server. ### Methods #### Get() ##### Description Gets the application settings of type `T`. ##### Method GET ##### Endpoint `/api/settings/{typeT}` (Hypothetical endpoint, actual may vary) ##### Parameters ###### Path Parameters - **typeT** (string) - Required - The type of the application settings to retrieve. ###### Request Body None ###### Success Response (200) - **settings** (object) - The application settings of type `T`. ###### Response Example ```json { "setting1": "value1", "setting2": "value2" } ``` #### GetSettingsAsObject() ##### Description Gets the application settings as a generic object. ##### Method GET ##### Endpoint `/api/settings/object` (Hypothetical endpoint, actual may vary) ##### Parameters None ###### Request Body None ###### Success Response (200) - **settingsObject** (object) - The application settings represented as a generic object. ###### Response Example ```json { "key": "value" } ``` #### LoadData() ##### Description Loads the data for the application settings. ##### Method POST ##### Endpoint `/api/settings/load` (Hypothetical endpoint, actual may vary) ##### Parameters None ###### Request Body None ###### Success Response (200) - **status** (string) - Indicates the success of the data loading operation. ###### Response Example ```json { "status": "Data loaded successfully" } ``` #### Save() ##### Description Saves the current application settings. ##### Method PUT ##### Endpoint `/api/settings/save` (Hypothetical endpoint, actual may vary) ##### Parameters ###### Request Body - **settings** (object) - Required - The application settings to save. ###### Success Response (200) - **status** (string) - Indicates the success of the save operation. ###### Response Example ```json { "status": "Settings saved successfully" } ``` ``` -------------------------------- ### Get Application Settings - C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.AppSettings.Services.ApplicationSettingService-1.Get.html The Get() method retrieves the application settings of type T. This method is part of the Innova.Data.AppSettings.Services namespace and is found within the Innova.Data.dll assembly. ```csharp public T Get() ``` -------------------------------- ### ServerApplicationSettingService Constructor Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Rest.Server.ServerApplicationSettingService-1.-ctor.html Details about the constructor for the ServerApplicationSettingService, including its parameters. ```APIDOC ## ServerApplicationSettingService Constructor ### Description Initializes a new instance of the `ServerApplicationSettingService` class. ### Method Constructor ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) None #### Response Example None ``` -------------------------------- ### StartAll Method Signature (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Abstractions.Builder.IServiceLifecycleManager.StartAll.html This C# code defines the signature for the StartAll method within the Innova.Abstractions.Builder namespace. It returns a Task representing the asynchronous operation of starting all services and accepts an optional CancellationToken. ```csharp Task StartAll(CancellationToken cancellationToken = default) ``` -------------------------------- ### Initialize MainWindowService (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.MainWindowService.-ctor.html Initializes a new instance of the MainWindowService class. It requires instances of IHost, IEventAggregator, and ILogger for dependency injection. ```csharp public MainWindowService(IHost host, IEventAggregator eventAggregator, ILogger logger) ``` -------------------------------- ### Set Client Guid (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Security.LowLevel.ShObjIdl.IAttachmentExecute.SetClientGuid.html The SetClientGuid method in C# is used to set a client identifier. It takes a reference to a Guid as a parameter. The reference indicates that the original Guid object passed to the method will be modified. ```csharp void SetClientGuid(ref Guid guid) ``` -------------------------------- ### Initialize Theme and Commands (JavaScript) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.StructuredSearch.EntitySearchViewModel-1.InitializeCommands.html This snippet demonstrates how to initialize the theme for the Innova Developer Platform by reading from local storage and applying it to the document's data-bs-theme attribute. It also includes a placeholder for command initialization. ```javascript const theme = localStorage.getItem('theme') || 'auto'; document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme); // Placeholder for actual command initialization logic ``` -------------------------------- ### AppSettingsMenu Constructor Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Services.AppSettingsMenu.-ctor.html Documentation for the AppSettingsMenu constructor within the Innova.Prism.Library.Services namespace. ```APIDOC ## AppSettingsMenu(IEventAggregator) ### Description Initializes a new instance of the AppSettingsMenu class. ### Method Constructor ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```json { "example": "No request body for constructor" } ``` ### Response #### Success Response (200) - **eventAggregator** (IEventAggregator) - The Prism.Events.IEventAggregator instance. #### Response Example ```json { "example": "Instance of AppSettingsMenu created" } ``` ``` -------------------------------- ### GET /api/users/settings Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Rest.Server.Settings.ServerUserSettingService-1.Get.html Retrieves the user's current settings from the Innova Developer Platform. ```APIDOC ## GET /api/users/settings ### Description Retrieves the user's current settings. ### Method GET ### Endpoint /api/users/settings ### Parameters #### Query Parameters - **theme** (string) - Optional - Specifies the theme to apply ('light', 'dark', or 'auto'). Defaults to 'auto'. ### Request Example ```json {} ``` ### Response #### Success Response (200) - **theme** (string) - The current user setting. #### Response Example ```json { "theme": "dark" } ``` ``` -------------------------------- ### Get Application Settings Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Rest.Server.SettingsController.GetApplicationSettings.html Retrieves the current application settings, including theme preferences. ```APIDOC ## GET /api/GetApplicationSettings ### Description Retrieves the current application settings, including theme preferences. This endpoint is useful for understanding the current state of the application's configuration. ### Method GET ### Endpoint /api/GetApplicationSettings ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **theme** (string) - The current theme setting ('light', 'dark', or 'auto'). #### Response Example ```json { "theme": "auto" } ``` ``` -------------------------------- ### C# InnovaApplicationBuilder CreateMainWindow Method Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.InnovaApplicationBuilder.html Creates the main window for the Innova application. This method is responsible for instantiating and setting up the primary user interface window. ```csharp public void CreateMainWindow() ``` -------------------------------- ### Theme Initialization in JavaScript Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Abstractions.Builder.IServiceLifecycle.StartOrder.html Initializes the theme of the Innova Developer Platform based on local storage or system preference. It reads the 'theme' from localStorage and applies it to the data-bs-theme attribute of the document element. If the theme is 'auto', it checks for the user's preferred color scheme. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### GET /api/entity Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.Entity.DbContextEntityService-3.Get.html Retrieves a single entity of a specific type T from the database based on the provided primary keys. ```APIDOC ## GET /api/entity/{keys} ### Description Retrieves a single entity of a specific type T from the database based on the provided primary keys. ### Method GET ### Endpoint `/api/entity/{keys}` ### Parameters #### Path Parameters - **keys** (IPrimaryKey) - Required - The primary keys of the entity. #### Query Parameters - **cancellationToken** (CancellationToken) - Optional - The cancellation token. ### Request Example ```json { "keys": "primaryKeyValue" } ``` ### Response #### Success Response (200) - **T** (object) - The retrieved entity. #### Response Example ```json { "field1": "value1", "field2": 123 } ``` ``` -------------------------------- ### QuickFindSearchItemViewModel Constructor Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Search.Models.QuickFindSearchItemViewModel-1.-ctor.html Documentation for the constructor of the QuickFindSearchItemViewModel class. ```APIDOC ## Constructor QuickFindSearchItemViewModel ### Description This constructor initializes a new instance of the `QuickFindSearchItemViewModel` class. ### Method Constructor ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```json { "example": "Not applicable for constructor" } ``` ### Response #### Success Response (200) This is a constructor, so it does not return a value in the traditional sense. #### Response Example ```json { "example": "Not applicable for constructor" } ``` ``` -------------------------------- ### Start Innova Service (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.AppSettings.Services.AppSettingsServiceLifecycle.Start.html Initiates the Innova service, accepting a CancellationToken for graceful shutdown. Returns a Task representing the asynchronous operation. This method is part of the Innova.Data.AppSettings.Services namespace. ```csharp public Task Start(CancellationToken cancellationToken = default) ``` -------------------------------- ### GET /api/entity/{keys} Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.Entity.IEntityService-1.Get.html Retrieves an entity by its primary keys. This endpoint allows fetching specific data entities from the Innova platform. ```APIDOC ## GET /api/entity/{keys} ### Description Retrieves the entity with the specified primary keys. This endpoint allows fetching specific data entities from the Innova platform. ### Method GET ### Endpoint `/api/entity/{keys}` ### Parameters #### Path Parameters - **keys** (IPrimaryKey) - Required - The primary keys of the entity to retrieve. #### Query Parameters - **cancellationToken** (CancellationToken) - Optional - The cancellation token. ### Request Example ```json { "message": "Request to retrieve entity with specific keys" } ``` ### Response #### Success Response (200) - **T** (object) - A task that represents the asynchronous operation. The task result contains the retrieved entity. #### Response Example ```json { "example": "Retrieved entity data" } ``` ``` -------------------------------- ### QuickFindService Constructor (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Search.QuickFindService.-ctor.html This C# code defines the constructor for the QuickFindService class. It accepts a collection of ISearchItemViewModel objects as a parameter, which is used to initialize the service. ```csharp public QuickFindService(IEnumerable searchItemViewModels) ``` -------------------------------- ### Get and Set Email Sender (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.AppSettings.EmailTemplate.From.html This C# property allows you to get or set the email sender. It is part of the Innova.Data.AppSettings namespace. ```csharp public string From { get; set; } ``` -------------------------------- ### GET /api/entity Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.Entity.DbContextEntityService-3.Get.html Retrieves a single entity from the database based on the provided primary keys. This endpoint is generic and can retrieve entities of any type TResult. ```APIDOC ## GET /api/entity/{keys} ### Description Retrieves a single entity from the database based on the provided primary keys. ### Method GET ### Endpoint `/api/entity/{keys}` ### Parameters #### Path Parameters - **keys** (IPrimaryKey) - Required - The primary keys of the entity. #### Query Parameters - **cancellationToken** (CancellationToken) - Optional - The cancellation token. ### Request Example ```json { "keys": "primaryKeyValue" } ``` ### Response #### Success Response (200) - **TResult** (object) - The retrieved entity. #### Response Example ```json { "field1": "value1", "field2": 123 } ``` ``` -------------------------------- ### Constructor BaseFrontPageWithTilesViewModel Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.BaseViewModels.BaseFrontPageWithTilesViewModel.-ctor.html Documentation for the BaseFrontPageWithTilesViewModel constructor, which initializes the ViewModel with an ITileFactory. ```APIDOC ## Constructor BaseFrontPageWithTilesViewModel ### Description Initializes the BaseFrontPageWithTilesViewModel with an instance of ITileFactory. ### Method Constructor ### Endpoint N/A (Class Constructor) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```json { "tileFactory": "ITileFactory" } ``` ### Response #### Success Response (200) N/A (Constructor) #### Response Example N/A (Constructor) ``` -------------------------------- ### Get Application Settings Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Rest.Client.RestSettingEntityService.GetApplicationSettings.html Retrieves the list of application settings for the Innova Developer Platform. ```APIDOC ## GET /api/settings ### Description Retrieves the list of application settings. ### Method GET ### Endpoint /api/settings ### Parameters #### Query Parameters - **cancellationToken** (CancellationToken) - Optional - The cancellation token. ### Response #### Success Response (200) - **ApplicationSettings** (List) - A list of application settings. #### Response Example ```json [ { "settingName": "exampleSetting", "settingValue": "exampleValue" } ] ``` ``` -------------------------------- ### QuickFindView InitializeComponent (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Search.Views.QuickFindView.html Standard method found in WPF/UWP components to initialize the visual elements and data binding defined in the XAML markup. This method is crucial for the UI to be rendered correctly. Part of the QuickFindView class. ```csharp public void InitializeComponent() { // Implementation omitted for brevity } ``` -------------------------------- ### IServiceLifecycle Interface Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Abstractions.Builder.IServiceLifecycle.html Defines the lifecycle of a service, including properties for start and stop order, and methods for checking stop capability, starting, and stopping the service. ```APIDOC ## IServiceLifecycle Interface ### Description Defines the lifecycle of a service, managing its startup and shutdown order. ### Namespace Innova.Abstractions.Builder ### Assembly Innova.Data.dll ### Properties #### StartOrder - **Type**: `int` - **Description**: Gets the start order of the service. Services with lower start order are started first. Set to 0 if order does not matter. Must be higher than 0. #### StopOrder - **Type**: `int` - **Description**: Gets the stop order of the service. Services with lower stop order are stopped first. Set to 0 if order does not matter. Must be lower than 1000. ### Methods #### CanStop ##### Description Checks if the service can be stopped. ##### Method `async Task CanStop(CancellationToken cancellationToken)` #### Start ##### Description Starts the service. ##### Method `async Task Start(CancellationToken cancellationToken)` #### Stop ##### Description Stops the service. ##### Method `async Task Stop(CancellationToken cancellationToken)` ``` -------------------------------- ### OnStartup Method Structure (.NET) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.StandardPrismApplication.OnStartup.html This is the overridden OnStartup method within the Innova Developer Platform, which is responsible for handling the application's startup event. It accepts StartupEventArgs as a parameter. This method is part of the Innova.Prism.Library assembly. ```csharp protected override void OnStartup(StartupEventArgs e) { // Event data is available in the 'e' parameter } ``` -------------------------------- ### GET /api/entities/{keys} Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Rest.Client.RestEntityServiceBase-2.Get.html Retrieves a specific entity using its primary keys. This endpoint allows fetching individual records from the Innova platform. ```APIDOC ## GET /api/entities/{keys} ### Description Retrieves the entity with the specified primary keys. ### Method GET ### Endpoint /api/entities/{keys} ### Parameters #### Path Parameters - **keys** (IPrimaryKey) - Required - The primary keys of the entity to retrieve. #### Query Parameters - **cancellationToken** (CancellationToken) - Optional - The cancellation token. ### Response #### Success Response (200) - **T** (Task) - The retrieved entity. #### Response Example ```json { "example": "response body representing the retrieved entity" } ``` ``` -------------------------------- ### CreateMainWindow Method (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.MainWindowService.html This C# method, CreateMainWindow, is part of the MainWindowService class. Its purpose is to instantiate and display the main application window. This method is a key component for initializing the user interface of the application. ```csharp public void CreateMainWindow() ``` -------------------------------- ### Get Saved Query Type Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.AppSettings.Services.SavedQueryService-1.Get.html Retrieves the saved query type for a specific entity type and view key. If the query type is not found, a new one is created. ```APIDOC ## GET /api/AppSettings/Services/Get ### Description Retrieves the saved query type for the specified entity type and view key. If the query type does not exist, it creates a new one. ### Method GET ### Endpoint /api/AppSettings/Services/Get ### Parameters #### Query Parameters - **typeName** (string) - Required - The entity type name. - **key** (string) - Optional - The view key. ### Response #### Success Response (200) - **EntitySavedQueryType** (object) - The entity saved query type. #### Response Example ```json { "typeName": "exampleTypeName", "key": "exampleKey", "queryType": "exampleQueryType" } ``` ``` -------------------------------- ### Check for Microsoft Excel Installation Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Services.ExcelInteropExporter.html Verifies if Microsoft Excel is currently installed on the system. This is a prerequisite for using Excel Interop functionalities. The method returns a boolean value. ```csharp public static bool IsExcelInstalled() { // Implementation details here... return false; } ``` -------------------------------- ### StartAll Service Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Abstractions.Builder.IServiceLifecycleManager.StartAll.html Initiates all services within the Innova Developer Platform. This endpoint is asynchronous and can be cancelled. ```APIDOC ## POST /innovait-dk/idplearn/services/startall ### Description Starts all services within the Innova Developer Platform. This operation is asynchronous and supports cancellation via a token. ### Method POST ### Endpoint /innovait-dk/idplearn/services/startall ### Parameters #### Query Parameters - **cancellationToken** (CancellationToken) - Optional - A cancellation token that can be used to cancel the work. ### Request Example ```json { "cancellationToken": null } ``` ### Response #### Success Response (200) - **task** (Task) - A task that represents the asynchronous operation. #### Response Example ```json { "task": "Operation completed successfully." } ``` ``` -------------------------------- ### Get and Set SettingsKey (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.AppSettings.ApplicationSettings.SettingsKey.html Demonstrates how to get and set the SettingsKey property. This property is of type string and is part of the Innova.Data.AppSettings namespace. It is typically used for managing application settings. ```csharp [DataMember] public string SettingsKey { get; set; } ``` -------------------------------- ### Create Main Window in C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.MainWindowService.CreateMainWindow.html This C# method creates the main application window for the Innova Developer Platform. It returns a System.Windows.Window object. ```csharp public Window CreateMainWindow() { // Method implementation to create the main window } ``` -------------------------------- ### Check OLE DB 12.0 Driver Installation (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Services.ExcelOledbExporter.html Checks if the OLE DB 12.0 driver is installed on the system. This is a prerequisite for using OleDb-based Excel export functionality. ```csharp public static class ExcelOledbExporter { public static bool IsOledb12Installed(); } ``` -------------------------------- ### Initialize DateRangeListItem with Name and Date (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.StructuredSearch.DateRangeListItem.-ctor.html Defines the DateRangeListItem constructor that accepts a string for the name and a DateTime object for the start date. This is useful when the exact start date is known. ```csharp public DateRangeListItem(string navn, DateTime fromDate) ``` -------------------------------- ### NavigationMenuBase Constructor Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Menus.Navigation.NavigationMenuBase.-ctor.html Initializes a new instance of the NavigationMenuBase class. ```APIDOC ## NavigationMenuBase Constructor ### Description Initializes a new instance of the [NavigationMenuBase](Innova.Prism.Library.Menus.Navigation.NavigationMenuBase.html) class. ### Method Constructor ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) None #### Response Example None ### Constructor Signature ```csharp public NavigationMenuBase(IRegionManager regionManager) ``` #### Parameters - **regionManager** (IRegionManager) - Required - The region manager. ``` -------------------------------- ### ServerUserSettingService Constructor Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Rest.Server.Settings.ServerUserSettingService-1.-ctor.html Documentation for the ServerUserSettingService constructor, including its parameters. ```APIDOC ## ServerUserSettingService Constructor ### Description Initializes a new instance of the `ServerUserSettingService` class. ### Method Constructor ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```json { "serverSettingsEntityServiceFactory": "IServerSettingsEntityServiceFactory", "cachedUserData": "ICachedUserData", "options": "IOptions" } ``` ### Response #### Success Response (200) This is a constructor, it does not return a value. #### Response Example N/A ``` -------------------------------- ### C# QuickFindSearchItemViewModel Constructor Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Search.Models.QuickFindSearchItemViewModel-1.-ctor.html Defines the constructor for the QuickFindSearchItemViewModel class in C#. It takes an IQuickFindNavigationService and a search expression as parameters to initialize the view model. This is part of the Innova.Prism.Library.Search.Models namespace. ```csharp public QuickFindSearchItemViewModel(IQuickFindNavigationService quickFindNavigationService, Expression> searchExpression) ``` -------------------------------- ### Get and Set OutlookBar SelectedItem (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Services.OutlookBarViewModel.SelectedItem.html This C# code demonstrates how to get or set the currently selected item in the OutlookBar. It is part of the Innova.Prism.Library.Services namespace and returns or accepts an OutlookBarItem object. ```csharp public OutlookBarItem SelectedItem { get; set; } ``` -------------------------------- ### RibbonView Constructor Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Menus.Ribbon.RibbonView.-ctor.html Documentation for the RibbonView constructor, detailing its parameters and usage within the Innova Developer Platform. ```APIDOC ## RibbonView Constructor ### Description Initializes a new instance of the `RibbonView` class with the specified `IRibbonViewModel`. ### Method Constructor ### Endpoint N/A (Class Constructor) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```javascript // Example usage within the Innova Developer Platform const ribbonViewModel = new IRibbonViewModel(); // Assuming IRibbonViewModel is instantiated elsewhere const ribbonView = new RibbonView(ribbonViewModel); ``` ### Response #### Success Response (200) N/A (Constructor does not return a value in the typical HTTP sense) #### Response Example N/A ``` -------------------------------- ### Create Application Main Window (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.IInnovaApplicationBuilder.CreateMainWindow.html This C# method creates the main window for the application. It is part of the Innova.Prism.Library. ```csharp Window CreateMainWindow() { // Implementation to create the main window } ``` -------------------------------- ### Get Application Settings Endpoint (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Rest.Server.SettingsController.GetApplicationSettings.html Defines the HTTP GET endpoint for retrieving application settings. This method returns a Task that resolves to an IActionResult, typically containing the application's settings. ```csharp [HttpGet("GetApplicationSettings")] public Task GetApplicationSettings() ``` -------------------------------- ### Get and Set IsSelected Property in C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Relations.IRelatedListViewModel.IsSelected.html Demonstrates how to get and set the 'IsSelected' boolean property in C#. This property is commonly used for toggling states or selection within the Innova Developer Platform. ```csharp bool IsSelected { get; set; } ``` -------------------------------- ### StartAll Method - C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Abstractions.Builder.ServiceLifecycleManager.StartAll.html The StartAll method is part of the Innova.Abstractions.Builder namespace within the Innova Developer Platform. It initiates all associated services asynchronously. The method accepts an optional CancellationToken to allow for cancellation of the start operation. ```csharp public Task StartAll(CancellationToken cancellationToken = default) ``` -------------------------------- ### QuickFindTooltipKey Constant Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.SystemStrings.QuickFindTooltipKey.html Information about the QuickFindTooltipKey constant used within the Innova Developer Platform. ```APIDOC ## Field QuickFindTooltipKey ### Description Represents a constant string key used for quick find tooltips within the Innova Developer Platform. ### Namespace Innova.Prism.Library ### Assembly Innova.Prism.Library.dll ### Constant Value `"QuickFindTooltip"` ### Returns string ``` -------------------------------- ### Get EnumerableToStringConverter Instance - C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Converters.EnumerableToStringConverter.Instance.html This C# code snippet shows how to get the singleton instance of the EnumerableToStringConverter class within the Innova.Prism.Library.dll assembly. This converter is used for transforming enumerable collections into string representations. ```csharp public static readonly EnumerableToStringConverter Instance ``` -------------------------------- ### Get and Set File Size (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Controls.FileControls.FileDto.FileSize.html The FileSize property allows you to get or set the size of a file. It is represented as a 64-bit signed integer (long). This property is part of the FileControls class in the Innova Prism Library. ```csharp public long FileSize { get; set; } ``` -------------------------------- ### GoHome Method - C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Menus.Navigation.GoHomeMenu.GoHome.html The GoHome method is a protected method within the Innova.Prism.Library.dll assembly. It is designed to navigate the user to the home page of the application. It belongs to the Innova.Prism.Library.Menus.Navigation namespace. ```csharp protected void GoHome() ``` -------------------------------- ### MyList Class Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.AppSettings.MyList-1.html Documentation for the generic MyList class. ```APIDOC ## Class MyList ### Description Represents a generic list that combines a pinned list and a latest list. ### Namespace Innova.Data ### Assembly Innova.Data.dll ### Type Parameters - `KeyType` (Type): The type of the keys in the list. ### Inheritance - object - MyList ### Constructors #### MyList() Initializes a new instance of the `MyList` class. ### Properties #### LatestList Gets or sets the latest list. #### PinnedList Gets or sets the pinned list. ### Methods #### GetIndexedLatestList() Gets the indexed latest list. #### GetIndexedList(bool includePinned) Gets the indexed list that combines the pinned list and the latest list. - `includePinned` (bool): A flag to indicate whether to include the pinned list. #### GetMergedList() Gets the merged list that combines the latest list and the pinned list. ``` -------------------------------- ### Get and Set LayoutString Property in C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.AppSettings.Layout.LayoutString.html This C# code snippet demonstrates how to get or set the LayoutString property. This property is of type string and is part of the Innova.Data.AppSettings namespace within the Innova Developer Platform. ```csharp public string LayoutString { get; set; } ``` -------------------------------- ### InnovaDatabaseTarget Methods (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.NLogExtensions.InnovaDatabaseTarget.html Details the methods available for the InnovaDatabaseTarget class. This includes 'InitializeTarget' for setup, 'OnDatabaseError' for exception handling, and asynchronous methods 'WriteAsyncTask' for logging individual or multiple log events. ```csharp public void InitializeTarget() ``` ```csharp protected virtual void OnDatabaseError(Exception exception) ``` ```csharp protected override Task WriteAsyncTask(LogEventInfo logEvent, CancellationToken cancellationToken) ``` ```csharp protected override Task WriteAsyncTask(IList logEvents, CancellationToken cancellationToken) ``` -------------------------------- ### Get Current User API Endpoint (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Rest.Server.MainController.GetCurrentUser.html This C# code defines an HTTP GET endpoint for retrieving the current user's information. It's part of the Innova.Rest.Server assembly and returns an IActionResult. ```csharp [HttpGet("GetCurrentUser")] public IActionResult GetCurrentUser() ``` -------------------------------- ### Initialize Method Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Library.Security.LowLevel.ObjSel.IDsObjectPicker.Initialize.html Initializes the Innova Developer Platform with the provided initialization information. ```APIDOC ## Initialize Method ### Description Initializes the Innova Developer Platform with the provided initialization information. ### Method `void` (This appears to be a C# method signature, not a typical REST API HTTP method.) ### Endpoint N/A (This is likely a library function, not a web endpoint.) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body * **pInitInfo** (ObjSel.DSOP_INIT_INFO) - Required - Initialization information for the platform. ### Request Example ```csharp ObjSel.DSOP_INIT_INFO initInfo = new ObjSel.DSOP_INIT_INFO(); // ... populate initInfo ... LowLevel.Initialize(ref initInfo); ``` ### Response #### Success Response N/A (This method is void and does not return a value upon success.) #### Response Example N/A ``` -------------------------------- ### Get or Set ItemKey Property (C#) Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Prism.Infrastructure.Commands.BaseNavigationDefinition-1.ItemKey.html This C# code snippet shows how to get or set the ItemKey property, which represents the key of a navigation item within the Innova Developer Platform. This property is of type string. ```csharp public string ItemKey { get; set; } ``` -------------------------------- ### Get Entity by Primary Key in C# Source: https://github.com/innovait-dk/idplearn/blob/main/_site/api/Innova.Data.Entity.DbContextEntityService-3.Get.html Retrieves a single entity from the database based on the provided primary keys. This method is generic and requires a cancellation token for asynchronous operations. It's part of the Innova.Data.Entity namespace. ```csharp protected virtual Task Get(IPrimaryKey keys, CancellationToken cancellationToken = default) where TResult : class ``` ```csharp public virtual Task Get(IPrimaryKey keys, CancellationToken cancellationToken = default) ```