Sesiune intrebari si raspunsuri .NET

Am vorbit despre Marker interfaces versus Marker Attribute pentru o clasa

Parerea mea e ca interfetele aplicate claselor sunt mai usor de folosit si de inteles decit atributele.

Din pacate nu am inregistrat – dar promit sa o fac data viitoare , cind vom vorbi despre documentatia codului.

/// <summary>
/// Interface Design , http://msdn.microsoft.com/en-us/library/ms229022.aspx : AVOID using marker interfaces (interfaces with no members).
/// FxCop :http://msdn.microsoft.com/en-us/library/ms182128%28VS.80%29.aspx : Avoid empty interfaces
/// Answer:
/// http://stackoverflow.com/questions/2086451/compelling-reasons-to-use-marker-interfaces-instead-of-attributes
/// </summary>

Codul il gasiti la adresa https://sesiuneintrebariraspunsuri.codeplex.com

si il puteti downloada fie de https://sesiuneintrebariraspunsuri.codeplex.com/SourceControl/latest 

fie de la https://sesiuneintrebariraspunsuri.codeplex.com/releases/view/123992

( Daca va pasioneaza , il puteti si imbunatati  – astept contributori)

Leave a Reply

Your email address will not be published. Required fields are marked *