asp.net - Is it a good idea to put all assembly: WebResource in the same cs file? -


i have .net library, webcontrols.

these webcontrols have embed resources. , declare them it, in webcontrols each cs file:

something this:

[assembly: webresource("io.css.mycss.css", "text/css")] namespace mynamespace.myclass {     [parsechildren(true)]     [persistchildren(false)]     [designer(typeof(mynamespace.myclassdesigner))]     public class quicktip : control, inamingcontainer     {         //my code...     } } 

would idea create cs file , include webresource declarations there?

example cs file just:

[assembly: webresource("io.css.mycss.css", "text/css")] [assembly: webresource("io.image.myimage.png", "image/png")] //and many other webresources of webcontrols of assembly 

this general question. depends on project characteristics.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -