示例#1
0
        public LogConverterForm()
        {
            InitializeComponent();
            _manager = new LogConverterManager();

            foreach (var id in _manager.GetFormaters())
            {
                cbFormater.Items.Add(id);
            }
            cbFormater.SelectedIndex = cbFormater.Items.Count - 1;

            this.Text = $"Log Converter (v{GobchatContext.InnerApplicationVersion})";
        }
示例#2
0
 public LogConverter(LogConverterManager manager)
 {
     _manager = manager ?? throw new ArgumentNullException(nameof(manager));
 }