Class Access Restriction

N

nicksertis

Hi All,

I have a solution which has two assemblies (dll files) which call each
other's classes and methods. This is fine as the public methods are
intended for this use.

I would like to protect some of these methods, as they related to core
data access. Since my assemblies will be used in larger applications by
other developers, I want my code (across my two assemblies) to be the
only code which can access them.

Is there a straightforward way to do this? I have investigated creating
web modules and them compiling them all into one assembly (and also
making the methods "internal") but it is a bit messy so am looking for
a better solution.

It is not feasible to merge all the assemblies into one assembly.

If you have any input on this topic that would be great.

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top