Class DisplayText
- Namespace
- Archiver.App.Core
- Assembly
- Archiver.App.Core.dll
The words the App's lists show for items (T-F198): a folder's type, a file without an extension, and size units. App.Core has no resource loader, so the App sets them once at startup from its own resources; until then they are English, which is what the tests see.
public static class DisplayText
- Inheritance
-
DisplayText
- Inherited Members
Properties
File
The Type column of a file without an extension.
public static string File { get; }
Property Value
Folder
The Type column of a folder.
public static string Folder { get; }
Property Value
Methods
Configure(string, string, string, string, string, string)
Called once by the App before any list shows; every unit template takes the number as {0}.
public static void Configure(string folder, string file, string bytes, string kilobytes, string megabytes, string gigabytes)
Parameters
FormatSize(long)
A byte count as B/KB/MB/GB in the user's number format.
public static string FormatSize(long bytes)
Parameters
byteslong