using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using LiveLogger4Log4Net.Client;
using LiveLogger4Log4Net.Client.Services;
namespace Nablasoft.LiveLogger
{
///
/// Interaction logic for Window1.xaml
///
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
InitWithTestData();
}
private void InitWithTestData()
{
ObservableCollection bl = new ObservableCollection();
bl.Add(new LogGroup() { LogIdentifier = "test" });
bl.Add(new LogGroup() { LogIdentifier = "A very long test to verify the layout of the form" });
bl[0].Messages.Add(new LogMessage()
{
Message = "This is the message Text",
StackSteps = new [] {new StackStep() {SourceFile="Source.cs", LineNumber = 22}}
});
DataContext = bl;
}
}
}