mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-23 11:16:59 -04:00
Use nullable
This commit is contained in:
parent
1bf9d9e2e2
commit
e5a2852165
42 changed files with 195 additions and 196 deletions
|
@ -1,6 +1,16 @@
|
|||
namespace DiscordChatExporter.Gui
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
namespace DiscordChatExporter.Gui
|
||||
{
|
||||
public partial class App
|
||||
{
|
||||
private static readonly Assembly Assembly = typeof(App).Assembly;
|
||||
|
||||
public static string Name => Assembly.GetName().Name!;
|
||||
|
||||
public static Version Version => Assembly.GetName().Version!;
|
||||
|
||||
public static string VersionString => Version.ToString(3);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue