Example #1
0
        private static void PrintEntry(IGMD_Entry entry)
        {
            string key = "(NO_KEY)";

            if (entry as GMD_Entry is var x && x != null)
            {
                key = x.Key;
            }

            Colorful.Console.Write(key, Color.Cyan);
            Colorful.Console.Write(":");
            Colorful.Console.WriteLine(entry.Value, Color.Orange);
        }
Example #2
0
 public GmdEntryViewModel(int index, IGMD_Entry entry)
 {
     Index      = index;
     this.entry = entry;
 }
Example #3
0
 public GMDEntryViewModel(int index, IGMD_Entry entry)
 {
     Index = index;
     Entry = entry;
 }