title: Trigger RaisePropertyChanged from a different class
body: <p>I'm having a class called Mod :</p>
  <pre class="lang-cs prettyprint-override"><code>class Mod : INotifyPropertyChanged
  {
      private bool serverSideChecked;
      private string name;
  
      public bool ServerSideChecked
      {
          get =&gt; serverSideChecked;
          set
          {
              serverSideChecked = value;
              RaisePropertyChanged(&quot;ServerSideChecked&quot;);
          }
      }
  
      public string Name
      {
          get =&gt; name;
          set
          {
              name = value;
              RaisePropertyChanged(&quot;Name&quot;);
          }
      }
  }
  </code></pre>
  <p>and another class called Profile that contains a list of Mods</p>
  <pre class="lang-cs prettyprint-override"><code>class ServerProfileNew : INotifyPropertyChanged
  {
      public int ServerModsChecked { get =&gt; Mods.Where(m =&gt; m.ServerSideChecked == true).Count(); }
  
      private List&lt;Mod&gt; _mods = new List&lt;Mod&gt;();
      public List&lt;Mod&gt; Mods
      {
          get =&gt; _mods;
          set
          {
              _mods = value;
              RaisePropertyChanged(&quot;Mods&quot;);
          }
      }
  }
  </code></pre>
  <p>Both classes implement INotifyPropertyChanged.
  I would need <code>ServerModsChecked</code> in <code>Profile</code> to update whenever <code>ServerSideChecked</code> is changed in <code>Mod</code> to have the total count of checked mods in real time.<br />
  Is that possible and how to do it ?</p>