title: freshmvvm command parameter
body: <p>I have a Command with CommandParameter in my Page but when is trigger for PageModel value is null and I not what´s up. 
  I have a Model "UserLogin":</p>
  
  <pre><code>[AddINotifyPropertyChangedInterface]
  public class UserLogin
  {
      public string Username { get; set; }
      public string Password { get; set; }
  
      public UserLogin(string username, string password)
      {
         Username = username;
         Password = Password;
      }
      public UserLogin()
      {
  
      }
  }
  </code></pre>
  
  <p>and my respective PageModel is "LoginPageModel":</p>
  
  <pre><code>    [AddINotifyPropertyChangedInterface]
      public class LoginPageModel : FreshBasePageModel
      {
      IDatabaseService _databaseService;
      IUserDialogs _userDialogs;
      IRestService _restService;
  
       public LoginPageModel(IDatabaseService databaseService, IRestService restService, IUserDialogs userDialogs) //injected from IOC
          {
              _databaseService = databaseService;
              _restService = restService;
              _userDialogs = userDialogs;
          }
  
          private UserLogin _userLogin;
          public UserLogin UserLogin
          {
              get
              {
                  return _userLogin;
              }
              set
              {
                  _userLogin = value;
                  if (value != null)
                      RaisePropertyChanged();
              }
          }
  
      public Command LoginCommand
      {
      get
      {
       return new Command&lt;UserLogin&gt;(async (log) =&gt; 
      {
      ....
  }
  </code></pre>
  
  <p>and my respective Page is "LoginPage.xaml":    </p>
  
  <pre><code>&lt;ContentPage.Content&gt;
       &lt;StackLayout Padding="20" Spacing="5"&gt;
  
              &lt;Entry x:Name="Username" Text="{Binding Username}" Keyboard="Email" Placeholder="Username"  /&gt;
  
              &lt;Entry x:Name="Password" Text="{Binding Password}" Placeholder="Password" IsPassword="true" /&gt;
  
              &lt;Button x:Name="btn_Login" Command="{Binding LoginCommand}" CommandParameter="{Binding UserLogin}" Text="Login" /&gt;         
  
      &lt;/StackLayout&gt;       
  &lt;/ContentPage.Content&gt;
  </code></pre>
  
  <p>What´s wrong in my code for parameter is null?</p>
  
  <p>Thanks People</p>