Class Config
Namespace: FastReport.Olap.Utils
Assembly: FastCube.Core.dll
Contains some configuration properties and settings that will be applied to the FastCube.Net environment, including Format, and ....
public static class Config
Inheritance
Properties
ApplicationFolder
Gets the application folder.
public static string ApplicationFolder { get; }
Property Value
CubeSettings
Gets or sets the settings for the Cube component.
public static CubeSettings CubeSettings { get; set; }
Property Value
DefaultFormat
Gets default formats object
public static DefaultFormat DefaultFormat { get; }
Property Value
EngCultureInfo
Gets an english culture information for localization purposes
public static CultureInfo EngCultureInfo { get; }
Property Value
Folder
Gets or sets the path used to load/save the configuration file.
public static string Folder { get; set; }
Property Value
Remarks
By default, the configuration file is saved to the application local data folder (C:\Documents and Settings\User_Name\Local Settings\Application Data\FastReport). Set this property to "" if you want to store the configuration file in the application folder.
IsStringOptimization
Gets or sets the optimization of strings. Is experimental feature.
public static bool IsStringOptimization { get; set; }
Property Value
ReferencedAssemblies
Gets list of all referenced assemblies for script.
public static List<string> ReferencedAssemblies { get; }
Property Value
Remarks
To add any assembly, you need to add the assembly name if it is in the project referenced list of assemblies. Note that you need to use just the name, for example, `FastCube.Core`.
Or the second option is a link to a dll that will be loaded into the script.
You can also remove unnecessary assemblies from this list.
If the assembly is not found, by reference or by name, then no exception will be raised. It will be ignored. Pay attention to this when developing.
Root
Gets the root item of config xml.
public static XmlItem Root { get; }
Property Value
RusCultureInfo
Gets a russian culture information for xml purposes
public static CultureInfo RusCultureInfo { get; }
Property Value
SliceSettings
Gets or sets the settings for the Slice component.
public static SliceSettings SliceSettings { get; set; }
Property Value
TempFolder
Gets or sets the path to the temporary folder used to store temporary files.
public static string TempFolder { get; set; }
Property Value
Remarks
The default value is null, so the system temp folder will be used.
Version
Gets FastCube version.
public static string Version { get; }