I was looking at the PRISM toolkit and I find many examples where they declare a public property with empty getters / setters, but they can still set the class instance property. How / why is this possible?
public class ShellPresenter
{
public ShellPresenter(IShellView view)
{
View = view;
}
public IShellView View { get; private set; }
}
ShellPresenter sp = new ShellPresenter();
sp.View = someView;
user134363
source
share