Dofactory.com
Dofactory.com
 Back to list
Views:   4K
Replies:  0
Archived

.NET Attributes versus the Decorator Pattern

Hi ,

What is the difference between .NET Attributes and the Decorator Pattern? 

For example  

[Serializeable()]
public class Order 
{
   // something
}

Doesn't the Serializable attribute decorate the Order class? 

Thanks 
Volkan Genç, Sep 27, 2013
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.