dev.tirsvad.dk
Tirsvad Website: A Clean Architecture .NET solution using Blazor WebAssembly for modern, cloud-ready web applications. Supports SQLite/MySQL, containerization, and follows best practices for maintainability and scalability.
Application.Services.OrganisationService Class Reference

Service for organization folder discovery. More...

Inheritance diagram for Application.Services.OrganisationService:
Collaboration diagram for Application.Services.OrganisationService:

Public Member Functions

IEnumerable< string > FindOrganizationsByFolder (string? rootPath=null)
 Finds all organization names by scanning the specified root folder.
IEnumerable< string > FindProjectsInOrganization (string organization)
 Finds all project names within the specified organization.

Properties

string? RootPath [get]
 Gets the root path used for organization discovery.
IEnumerable< string >? Organizations = [] [get]
 Gets the collection of organization names discovered in the root folder.

Detailed Description

Service for organization folder discovery.

Member Function Documentation

◆ FindOrganizationsByFolder()

IEnumerable< string > Application.Services.OrganisationService.FindOrganizationsByFolder ( string? rootPath = null)
inline

Finds all organization names by scanning the specified root folder.

Parameters
rootPathOptional root path to search. If null, uses RootPath.
Returns
A collection of organization names found in the folder structure.

Implements Application.Interfaces.Services.IOrganisationService.

◆ FindProjectsInOrganization()

IEnumerable< string > Application.Services.OrganisationService.FindProjectsInOrganization ( string organization)
inline

Finds all project names within the specified organization.

Parameters
organizationThe name of the organization to search for projects.
Returns
A collection of project names found within the organization.

Implements Application.Interfaces.Services.IOrganisationService.

Property Documentation

◆ Organizations

IEnumerable<string>? Application.Services.OrganisationService.Organizations = []
get

Gets the collection of organization names discovered in the root folder.

This property provides a cached or computed list of organization names available for use within the application. The actual discovery logic is defined by implementations of IOrganisationService.

Implements Application.Interfaces.Services.IOrganisationService.

◆ RootPath

string? Application.Services.OrganisationService.RootPath
get

Gets the root path used for organization discovery.

Implements Application.Interfaces.Services.IOrganisationService.


The documentation for this class was generated from the following file: