Hi, Thanks for all the great work on StrangeIoC so far! I'm part of an experienced dev team looking to make the switch from a proprietary in house engine to Unity, and Strange has really helped inform our architecture decisions.
I'm new to MVC and C# in general but I was wondering if it makes sense to hook a signal to a set method of a Model's property?
private int _score;
public int score
{
get { return _score; }
set
{
_score = value;
updateScoreSignal.Dispatch (_score);
}
}
This seems simpler to me than having to remember call
updateScoreSignal.Dispatch (model.score); everytime I update the Model.score property.
Thoughts?
Hi, Thanks for all the great work on StrangeIoC so far! I'm part of an experienced dev team looking to make the switch from a proprietary in house engine to Unity, and Strange has really helped inform our architecture decisions.
I'm new to MVC and C# in general but I was wondering if it makes sense to hook a signal to a set method of a Model's property?
This seems simpler to me than having to remember call
updateScoreSignal.Dispatch (model.score);everytime I update the Model.score property.Thoughts?