Пример #1
0
        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;
        }
Пример #2
0
 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");
 }
Пример #4
0
 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");
 }
Пример #5
0
 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;
 }
Пример #6
0
 static Confirm()
 {
     MKL.Lic("Tricky Units for C# - FormConfirm.cs", "ZLib License");
     MKL.Version("Tricky Units for C# - FormConfirm.cs", "20.08.16");
 }
Пример #7
0
 static FileList()
 {
     MKL.Version("Tricky Units for C# - FileList.cs", "21.09.11");
     MKL.Lic("Tricky Units for C# - FileList.cs", "ZLib License");
 }
Пример #8
0
 static Rand()
 {
     MKL.Lic("Tricky Units for C# - Rand.cs", "ZLib License");
     MKL.Version("Tricky Units for C# - Rand.cs", "20.04.11");
 }
Пример #9
0
 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.
Пример #10
0
 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;
 }
Пример #11
0
 static FileList()
 {
     MKL.Version("Tricky Units for C# - FileList.cs", "19.04.24");
     MKL.Lic("Tricky Units for C# - FileList.cs", "ZLib License");
 }
Пример #12
0
 static qstr()
 {
     MKL.Version("Tricky Units for C# - qstr.cs", "19.05.09");
     MKL.Lic("Tricky Units for C# - qstr.cs", "ZLib License");
 }
Пример #13
0
 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");
     }
Пример #14
0
 static RegExTree()
 {
     MKL.Lic("Tricky Units for C# - RegExTree.cs", "ZLib License");
     MKL.Version("Tricky Units for C# - RegExTree.cs", "20.05.26");
 }
Пример #15
0
 static qstr()
 {
     MKL.Version("Tricky Units for C# - qstr.cs", "20.08.16");
     MKL.Lic("Tricky Units for C# - qstr.cs", "ZLib License");
 }