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.182 -- Release Build+e7ca098e90393a2d25b77650455075d619d99c23
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