You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone. I am wondering how to initialize data without notification. In one project where I load data from the database and map to the model, I see a large increase in memory related to notification. Is the approach below correct?
'public class Sample
{
private int sampleProperty = 0;
[Notify]
public int SampleProperty
{
get { return sampleProperty; }
set { sampleProperty = value; }
}
public void Initialize(int sampleValue)
{
sampleProperty = sampleValue;
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone. I am wondering how to initialize data without notification. In one project where I load data from the database and map to the model, I see a large increase in memory related to notification. Is the approach below correct?
'public class Sample
{
private int sampleProperty = 0;
}'
Beta Was this translation helpful? Give feedback.
All reactions