LIBS/DotNetUtils/Phoenix.ModelCenter.PlugIn/NameSubstitutionFile.cs (line 19)
Mapping of name substitutions.
It is recommended that future work use a simple json or xml file format instead of this class.
The file format is simple space or tab separated format with one item per line. Comment lines begin with hash (#). Each line should contain two fields. Blank lines are ignored.
Inherits from:
- Dictionary< string, string >
Members
Public functions
Function NameSubstitutionFile
- assembly: The assembly.
- Assembly assembly
Function NameSubstitutionFile
- assembly: The assembly.
- fileName: The file name, which should be a relative path relative to the location of the assembly.
- Assembly assembly
- string fileName
Function NameSubstitutionFile
- path: The path to the file.
- string path
Function GetSubstitution
- key: The key to search for
- string key