Click here to Skip to main content
14,367,789 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: At last, some worthwhile medical research. Pin
Mark_Wallace28-Jul-10 20:22
memberMark_Wallace28-Jul-10 20:22 
GeneralLooking for advice in managing code in related applications (long) Pin
Dan Neely28-Jul-10 11:10
memberDan Neely28-Jul-10 11:10 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
TheyCallMeMrJames28-Jul-10 11:22
memberTheyCallMeMrJames28-Jul-10 11:22 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Dan Neely28-Jul-10 11:43
memberDan Neely28-Jul-10 11:43 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Member 419459328-Jul-10 11:23
memberMember 419459328-Jul-10 11:23 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
TheyCallMeMrJames28-Jul-10 11:26
memberTheyCallMeMrJames28-Jul-10 11:26 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Dan Neely28-Jul-10 11:48
memberDan Neely28-Jul-10 11:48 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
ely_bob29-Jul-10 4:39
professionalely_bob29-Jul-10 4:39 
.. o.k. I'll say this right off.. it's not elegant.. but:

You could really Hack up your libraries, into a partial class definition for Each method, and build a class "library" then when you compile, you can use an internal reflection tool ( i recently saw something similar for projects, but while playing with it i noticed you can get fairly granular) to get just the methods you actually want to give that particular client, .. this method would be tedious but would have very little.. housekeeping while the code was in development.. Alternatively you could do MyClass_Common.cs,MyClass_AI.cs, myClass_A2.cs.. using the same MyClass namespace for each of the "MyClass_{blah}" files, this forces you to do housekeeping, and you will need every permutation of company sharing represented in your file base.... easy to do if you have one or two companies, but you get a much larger file base (and more complicated) if you take on a new client...
(3 clients: 3!+1 = 7files, 4 clients: 4!+1 = 25, 5 clients: 5!+1 = 121)!... so not a very good choice if you want to keep getting new clients... Big Grin | :-D
I'd blame it on the Brain farts.. But let's be honest, it really is more like a Methane factory between my ears some days then it is anything else...

GeneralRe: Looking for advice in managing code in related applications (long) Pin
Dan Neely29-Jul-10 4:57
memberDan Neely29-Jul-10 4:57 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Mike Mullikin28-Jul-10 11:23
memberMike Mullikin28-Jul-10 11:23 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Dan Neely28-Jul-10 11:50
memberDan Neely28-Jul-10 11:50 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Mike Mullikin28-Jul-10 12:00
memberMike Mullikin28-Jul-10 12:00 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Chris Maunder28-Jul-10 12:07
adminChris Maunder28-Jul-10 12:07 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Pete O'Hanlon28-Jul-10 12:13
protectorPete O'Hanlon28-Jul-10 12:13 
GeneralRe: Looking for advice in managing code in related applications (long) [modified] Pin
Mike Mullikin28-Jul-10 13:14
memberMike Mullikin28-Jul-10 13:14 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Chris Maunder28-Jul-10 15:48
adminChris Maunder28-Jul-10 15:48 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Gary Wheeler29-Jul-10 3:59
memberGary Wheeler29-Jul-10 3:59 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Ennis Ray Lynch, Jr.28-Jul-10 11:31
memberEnnis Ray Lynch, Jr.28-Jul-10 11:31 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Dan Neely28-Jul-10 11:49
memberDan Neely28-Jul-10 11:49 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Ennis Ray Lynch, Jr.28-Jul-10 11:54
memberEnnis Ray Lynch, Jr.28-Jul-10 11:54 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Tim Carmichael28-Jul-10 11:43
memberTim Carmichael28-Jul-10 11:43 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
PIEBALDconsult28-Jul-10 12:12
protectorPIEBALDconsult28-Jul-10 12:12 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Pete O'Hanlon28-Jul-10 11:48
protectorPete O'Hanlon28-Jul-10 11:48 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Dan Neely28-Jul-10 11:58
memberDan Neely28-Jul-10 11:58 
GeneralRe: Looking for advice in managing code in related applications (long) Pin
Chris Maunder28-Jul-10 12:08
adminChris Maunder28-Jul-10 12:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.