Exemplo n.º 1
0
 internal static string?Label(ExecutionContext ctx, DyDrive self) => ctx.Handle(() => self.Value.VolumeLabel);
Exemplo n.º 2
0
 internal static string?Type(ExecutionContext ctx, DyDrive self) => ctx.Handle(() => self.Value.DriveType.ToString());
Exemplo n.º 3
0
 internal static bool IsReady(ExecutionContext ctx, DyDrive self) => ctx.Handle(() => self.Value.IsReady);
Exemplo n.º 4
0
 internal static string?Root(ExecutionContext ctx, DyDrive self) => ctx.Handle(() => self.Value.RootDirectory.FullName);
Exemplo n.º 5
0
 internal static string?Format(ExecutionContext ctx, DyDrive self) => ctx.Handle(() => self.Value.DriveFormat);
Exemplo n.º 6
0
 internal static long AvailableFreeSpace(ExecutionContext ctx, DyDrive self) => ctx.Handle(() => self.Value.AvailableFreeSpace);
Exemplo n.º 7
0
 internal static long TotalFreeSpace(ExecutionContext ctx, DyDrive self) => ctx.Handle(() => self.Value.TotalFreeSpace);
Exemplo n.º 8
0
 internal static string?Name(ExecutionContext ctx, DyDrive self) => ctx.Handle(() => self.Value.Name);