BrainEnterprise.Core.OptionProfile 7.0.0

Prefix Reserved
dotnet add package BrainEnterprise.Core.OptionProfile --version 7.0.0
                    
NuGet\Install-Package BrainEnterprise.Core.OptionProfile -Version 7.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BrainEnterprise.Core.OptionProfile" Version="7.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BrainEnterprise.Core.OptionProfile" Version="7.0.0" />
                    
Directory.Packages.props
<PackageReference Include="BrainEnterprise.Core.OptionProfile" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BrainEnterprise.Core.OptionProfile --version 7.0.0
                    
#r "nuget: BrainEnterprise.Core.OptionProfile, 7.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BrainEnterprise.Core.OptionProfile@7.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BrainEnterprise.Core.OptionProfile&version=7.0.0
                    
Install as a Cake Addin
#tool nuget:?package=BrainEnterprise.Core.OptionProfile&version=7.0.0
                    
Install as a Cake Tool

About

Core Libraries for Option Profiles Option Identifiers

Use these identifiers for the application options stored in be_system.tb_Gaia_Option_Attribute: each option has an Id, a description and five string values (Value1 .. Value5) that can be set at application, company or option profile level. The reading precedence is profile, company, application.

Attributes

Attribute Target Purpose
ObjectArea(start) class Declares the start of the identifier range of an application
OptionDefinition(description, levels) field Declares what an option means: description, enabled levels (OptionLevels flags) and the meaning of each value (Value1 .. Value5)

The attribute is the source of truth for the tb_Gaia_Option_Attribute row: the seed script that creates the row is generated from it, not written by hand. An identifier without OptionDefinition has no row and cannot be configured.

[ObjectArea(313000000)]
public static class OptionAttributes
{
    public static class Documents
    {
        [OptionDefinition("Allegati", OptionLevels.Company | OptionLevels.Profile,
            Value1 = "Cartella temporanea",
            Value2 = "Deposito allegati Web",
            Value3 = "Deposito allegati applicazioni e servizi")]
        public const int Attachments = 313200000;
    }
}

The identifier constants live in this package only for the common libraries (Regolo). Each application keeps its own constants in its own core assembly, decorated with the attributes of this package: an option is read by its owner only, and a new one must not require a package release.

Included Identifiers

Ranges are registered here whether the constants live in this package or in the application. ObjectArea only declares the start of a range: the boundaries exist as long as they are documented here.

Application Area Identifiers Family Where the constants live Start Range End Range
Common Libraries Regolo this package, Regolo 1.000 1.999
Common Applications Maya Sales & CRM Maya.Core.OptionAttributes 100.100 111.999
Thor DataWarehouse DECT Thor.Dect.Core.OptionAttributes 302.000.000 302.999.999
Mes MES Thor.Mes.Core.OptionAttributes 303.000.000 303.999.999
Milk Suite MilkSuite MilkSuite.Core.OptionAttributes 313.000.000 313.999.999

Maya also uses 1.000 - 1.011 for its web service profiles (MessageHubWs .. CommissionPaymentReport), inside the Regolo block: a legacy overlap, harmless as long as Regolo does not use those values. Regolo currently declares only GoogleOAuth = 1300.

The Thor applications split each range as PPP AA B CCC: PPP the application, AA the functional area (00 reserved to dynamically loaded plug-ins), B a group inside the area, CCC a progressive. The area map of each application is documented in its own core assembly.

Included Enums

  • OptionLevels
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
7.0.0 94 9/29/2026
6.0.0 119 9/6/2026
5.0.0 305 12/30/2024
4.0.0 238 12/28/2024
3.0.0 248 12/28/2024
2.0.0 244 12/27/2024
1.0.0 330 7/19/2023

7.0.0: OptionDefinitionAttribute and OptionLevels; Regolo.GoogleOAuth decorated; ranges of Maya and Thor applications registered.