Example #1
0
 private static string FormatFlags(EflagsEnum flags)
 {
     //return $"{Convert.ToString((uint) flags, 2)}:" + string.Join("|", flags.GetIndividualFlags());
     return(String.Join("|", flags.GetIndividualFlags()));
 }
Example #2
0
 private static string FormatFlagsDiff(string regTitle, EflagsEnum flags, EflagsEnum oldFlags)
 {
     return(flags != oldFlags ?
            regTitle + "=" + String.Join("|", oldFlags.GetIndividualFlags()) + "->" + String.Join("|", flags.GetIndividualFlags()) :
            "");
 }