static Dirry() { MKL.Version("Tricky Units for C# - Dirry.cs", "20.08.16"); MKL.Lic("Tricky Units for C# - Dirry.cs", "ZLib License"); var home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); nodollar = false; Add("$Home$", home); Add("$Documents$", $"{home}/Documents"); Add("$MyDocs$", $"{home}/Documents"); Add("$AppSupport$", $"{home}/.Tricky__ApplicationSupport"); // <- This is a dirty method, but unfortunately Mono and C# have very poor (read: no) support for doing this properly!!! Add("$UserName$", Environment.UserName); Add("$AppDir$", AppDomain.CurrentDomain.BaseDirectory); Add("$LaunchDir$", System.IO.Directory.GetCurrentDirectory()); // <- Please note this only is valid if this class is called right when the application starts up. nodollar = true; }
static MKL() { // Despite C# considering this as "obsolete" the "MKL." prefixes MUST be present here, or MKL_Update won't onderstand these values have to be updated. MKL.Version("Tricky Units for C# - mkl.cs", "20.08.16"); MKL.Lic("Tricky Units for C# - mkl.cs", "ZLib License"); }
static QCol() { MKL.Version("Tricky Units for C# - QuickConsoleColors.cs", "21.09.11"); MKL.Lic("Tricky Units for C# - QuickConsoleColors.cs", "ZLib License"); }
static public void Hello() { MKL.Lic("Tricky Units for C# - GINIE.cs", "ZLib License"); MKL.Version("Tricky Units for C# - GINIE.cs", "21.09.11"); }
public FlagParse(string[] parameters) { MKL.Version("Tricky Units for C# - FlagParse.cs", "19.04.24"); MKL.Lic("Tricky Units for C# - FlagParse.cs", "ZLib License"); basis = parameters; }
static Confirm() { MKL.Lic("Tricky Units for C# - FormConfirm.cs", "ZLib License"); MKL.Version("Tricky Units for C# - FormConfirm.cs", "20.08.16"); }
static FileList() { MKL.Version("Tricky Units for C# - FileList.cs", "21.09.11"); MKL.Lic("Tricky Units for C# - FileList.cs", "ZLib License"); }
static Rand() { MKL.Lic("Tricky Units for C# - Rand.cs", "ZLib License"); MKL.Version("Tricky Units for C# - Rand.cs", "20.04.11"); }
public static void Hello() { MKL.Version("Tricky Units for C# - qstream.cs", "21.09.11"); MKL.Lic("Tricky Units for C# - qstream.cs", "ZLib License"); } // Basically does nothing, but it forces the MKL data to be parsed when called.
static GINI() { MKL.Version("Tricky Units for C# - GINI Is Not Ini.cs", "19.04.24"); MKL.Lic("Tricky Units for C# - GINI Is Not Ini.cs", "ZLib License"); var tb = debug; }
static FileList() { MKL.Version("Tricky Units for C# - FileList.cs", "19.04.24"); MKL.Lic("Tricky Units for C# - FileList.cs", "ZLib License"); }
static qstr() { MKL.Version("Tricky Units for C# - qstr.cs", "19.05.09"); MKL.Lic("Tricky Units for C# - qstr.cs", "ZLib License"); }
class FFS { // Not that internet slang abbreviation :-P static FFS() { MKL.Lic("Tricky Units for C# - FormSelectFiles.cs", "ZLib License"); MKL.Version("Tricky Units for C# - FormSelectFiles.cs", "19.06.15"); }
static RegExTree() { MKL.Lic("Tricky Units for C# - RegExTree.cs", "ZLib License"); MKL.Version("Tricky Units for C# - RegExTree.cs", "20.05.26"); }
static qstr() { MKL.Version("Tricky Units for C# - qstr.cs", "20.08.16"); MKL.Lic("Tricky Units for C# - qstr.cs", "ZLib License"); }