Hi Rob (and whom else it may concern)
Are there any coding conventions with regards to writing C# code in some
of the C# code bases that would allow for new language features? I know
that you are trying to keep WiX backward compatible with older versions
of .NET and that's why I'm asking. For instance, here I see this code:
bool hasFiles = false;
foreach (GenericItemWrapper item in buildOutputFiles)
{
hasFiles = true;
break;
}
With some of the new extension methods I can simplify it as:
bool hasFiles = buildOutputFiles.Any();
Would that be a problem? If so, where could we keep a collection of libs
where we can write similar methods (more helper like) to help make WiX
code more readable? Should we just start of within the project file
itself and then see the need for common projects later?
I hope my question makes sense.
Regards,
Dandre
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs