예제 #1
0
 public override void Changed(ChangeType change)
 {
     switch (change)
     {
     case ChangeType.Add:
     case ChangeType.Remove:
     case ChangeType.Online:
         People.GetFriends();
         break;
     }
 }
예제 #2
0
            public override void Changed(ChangeType change)
            {
                Logger.LogDebug($"People.PeopleFriendsObserver.Changed: {change}");

                switch (change)
                {
                case ChangeType.Add:
                case ChangeType.Remove:
                case ChangeType.Online:
                    People.GetFriends();
                    break;
                }
            }