Example #1
0
 public static void Deconstruct(this SrbStatusValue Value, out SrbStatus Status, out StatusFlags Flags)
 => (Status, Flags) = (GetStatus(Value), GetFlags(Value));
Example #2
0
 public static SrbStatusValue ToValue(this SrbStatus Status, StatusFlags Flags = default) => (SrbStatusValue)((byte)Status | (byte)Flags);