interface - FxCop + MVP: "Properties should not be write only" -


Suppose I'm implementing an MVP pattern and I have a visual interface:

  Interface IView {String SuperRadString {Set; }}  

There is no need to get the presenter from seeing this string anyway, so can I safely ignore this error?

Well, yes ...

However, semantically it "black" Should be a method to determine the value of the hole property ".


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -