-
Hi, I'm looking at a potential usage of First of all, the docs for the method state the following:
My interpretation of this is "if no user code has subscribed to For the second part, I probably need to explain the use case. In short, we have the following structure: public class BeatmapInfo : RealmObject
{
public string Hash { get; set; }
}
public class ScoreInfo : RealmObject
{
public BeatmapInfo BeatmapInfo { get; set; }
public string BeatmapHash { get; set; }
} What we would like to achieve is to have I see open issues that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hey, no, that's not the intended use of I'm not sure I fully understand your requirement though - you're saying every time |
Beta Was this translation helpful? Give feedback.
Hey, no, that's not the intended use of
OnPropertyChanged
. Instead, the intention there is to allow you to raise property change notifications in situations where you have a computed property that depends on persisted properties.I'm not sure I fully understand your requirement though - you're saying every time
BeatmapHash
is changed, you want to disregard the change and replace it with the value fromBeatmapInfo.Hash
? Is this to avoid people setting an incorrect value there or?