ConfigurationFrameGetConfigurationCacheFileName Method

Generates the full file name, including the path, for a configuration cache file.

Definition

Namespace: Gemstone.PhasorProtocols.Anonymous
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.181 -- Release Build+69c74c3448bebb1c8c739a856f2a43b00db6d500
public static string GetConfigurationCacheFileName(
	string configurationName,
	string extension = "configuration.xml",
	string? basePath = null
)

Parameters

configurationName  String
The name of the configuration for which to generate the file name.
extension  String  (Optional)
The file extension to use for the configuration cache file. Defaults to "configuration.xml".
basePath  String  (Optional)
The base path where the configuration cache file will be located. If not specified, a default path is used.

Return Value

String
A string representing the full file name, including the path, for the specified configuration cache file.

Remarks

Invalid characters in the configurationName or extension are replaced to ensure the resulting file name is valid.

See Also