using System.Globalization; namespace YKanBan.ViewModels.Dialogs; /// /// The confirmation dialog shown after a successful Markdown export, naming the /// written file. /// public sealed class ExportDoneViewModel : ViewModelBase { /// /// Initializes the dialog with the exported file path. /// /// The path the export was written to. public ExportDoneViewModel(string filePath) { Message = string.Format( Resources.Culture ?? CultureInfo.CurrentCulture, Resources.Export_Done_Message, filePath); } /// /// Gets the localized confirmation message. /// public string Message { get; } }