Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: string DetectLegacyFileNaming(string, string, string)

  • Declared in: RT.Serialization.Settings.SettingsFile<TSettings>
  • Virtual

Declaration

protected virtual string DetectLegacyFileNaming(
    string filename,
    string appName,
    string suffix
)

Summary

Detects legacy settings filenames produced by RT.Util.SettingsUtil. If the file at filename does not exist, and there is a matching legacy-named file at the same path, returns the full path to that legacy file. Otherwise returns filename unchanged.

Parameters

stringfilename Non-legacy full path and filename for this settings file.
stringappName Application name as passed into the constructor.
stringsuffix Filename suffix as passed into the constructor.