title: MVVM using constructors of UI to pass model
body: <p>I'm over-thinking this and getting myself into a muddle but can't clear my head. </p>
  
  <p>I'm new at WPF and I'm trying to get familiar with MVVM. I understand the theory. I need a view, a model and another model (called the view-model). </p>
  
  <p>However, what happens if my model is constructed by a parameter of the View's constructor. </p>
  
  <p>So, assuming I have a totally empty project, the only thing is I've an overloaded MainWindow constructor which takes the model:</p>
  
  <pre><code>public MainWindow(Logging.Logger logFile)
          {
              InitializeComponent();
              this.DataContext = logFile;
          }
  </code></pre>
  
  <p>The Model is the logFile. Can I still implement the MVVM when I don't have a separate Model class?</p>
  
  <p>Any thoughts would be appreciated.</p>