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