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.183 -- Release Build+673491a1afa103b255aa8db4f2bc6d4e220a63e0
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