26 lines
789 B
C#
26 lines
789 B
C#
using System.ComponentModel;
|
|
using JD.LocalizationExport.Service.Model.Options;
|
|
|
|
namespace JD.Rosetta.Module.ViewModel.ExportOptions
|
|
{
|
|
public class ConsoleExportOptionsViewModel : ExportOptionsViewModel
|
|
{
|
|
private string _consoleDestinationStream;
|
|
|
|
[DisplayName("Stream"), Description("Data stream to export the localization to"), Category("Console")]
|
|
public string ConsoleDestinationStream
|
|
{
|
|
get => _consoleDestinationStream;
|
|
set => SetProperty(ref _consoleDestinationStream, value);
|
|
}
|
|
|
|
|
|
public override ExportOptionsModel ToExportOptions()
|
|
{
|
|
return new ConsoleExportOptions()
|
|
{
|
|
DestinationStream = ConsoleDestinationStream,
|
|
};
|
|
}
|
|
}
|
|
}
|