private void OnAddSplitCommand() { if (!Validate()) { return; } Result = new AddTrafficSplitResult( version: SelectedVersion, allocation: Int32.Parse(Allocation)); _owner.Close(); }