My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Links

In C#, internal means that something is visible within the whole assembly but not outside.

Sometimes that forces developers to isolate components/APIs by marking them internal and putting them in separate VS projects within a single solution. Such undoubtedly creative approach has its benefits but it also has obvious drawbacks: increased compile time, complicated deployment, etc.

That's where RIANT plugin can help you.

By specifying a more fine-grained visibility level similar to the package one in Java, you can keep your components and APIs isolated but still located in one assembly.

Two simple rules count:

  • If you want to restrict usage for all methods in a class, put the "restrict" tag on the class XML docs.
  • If you only need to restrict on a single method, apply the tag to the method documentation.

Powered by Google Project Hosting