Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Namespaces..

Namespaces..

Scheduled Pinned Locked Moved .NET (Core and Framework)
sharepointalgorithmsquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ray Cassick
    wrote on last edited by
    #1

    Can they span multiple assemblys (sp)? I am assuming that they can, but can’t seem to find anything that says definitively 'YES'. I will admit that it is late and I am probably not searching right on Goggle... but I just can't find it... Also, Are there any recommendations for namespace hierarchies? I am considering: [company_name] [app_name] [section_name1] ….. [section_name2] I assume that if I set the root namespace for each project to [company_name] then preced each class with the ‘namespace’ directive for [app_name] I can then nest the [section_name] namespaces inside of that.


    Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
    George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things."


    J L 2 Replies Last reply
    0
    • R Ray Cassick

      Can they span multiple assemblys (sp)? I am assuming that they can, but can’t seem to find anything that says definitively 'YES'. I will admit that it is late and I am probably not searching right on Goggle... but I just can't find it... Also, Are there any recommendations for namespace hierarchies? I am considering: [company_name] [app_name] [section_name1] ….. [section_name2] I assume that if I set the root namespace for each project to [company_name] then preced each class with the ‘namespace’ directive for [app_name] I can then nest the [section_name] namespaces inside of that.


      Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
      George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things."


      J Offline
      J Offline
      James T Johnson
      wrote on last edited by
      #2

      Ray Cassick wrote: but can’t seem to find anything that says definitively 'YES'. 'YES' :-D This is used extensively throughout the framework, especially when you look at the assemblies that are meant to assist development (System.Design.dll). Ray Cassick wrote: I assume that if I set the root namespace for each project to [company_name] then preced each class with the ‘namespace’ directive for [app_name] I can then nest the [section_name] namespaces inside of that. Pretty much :) James "It is self repeating, of unknown pattern" Data - Star Trek: The Next Generation

      1 Reply Last reply
      0
      • R Ray Cassick

        Can they span multiple assemblys (sp)? I am assuming that they can, but can’t seem to find anything that says definitively 'YES'. I will admit that it is late and I am probably not searching right on Goggle... but I just can't find it... Also, Are there any recommendations for namespace hierarchies? I am considering: [company_name] [app_name] [section_name1] ….. [section_name2] I assume that if I set the root namespace for each project to [company_name] then preced each class with the ‘namespace’ directive for [app_name] I can then nest the [section_name] namespaces inside of that.


        Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
        George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things."


        L Offline
        L Offline
        leppie
        wrote on last edited by
        #3

        MSDN link for "Namespace Naming Guidelines" ms-help://MS.VSCC/MS.MSDNVS/cpgenref/html/cpconnamespacenamingguidelines.htm[^] WebBoxes - Yet another collapsable control, but it relies on a "graphics server" for dynamic pretty rounded corners, cool arrows and unlimited font support.

        S 1 Reply Last reply
        0
        • L leppie

          MSDN link for "Namespace Naming Guidelines" ms-help://MS.VSCC/MS.MSDNVS/cpgenref/html/cpconnamespacenamingguidelines.htm[^] WebBoxes - Yet another collapsable control, but it relies on a "graphics server" for dynamic pretty rounded corners, cool arrows and unlimited font support.

          S Offline
          S Offline
          stephen woolhead
          wrote on last edited by
          #4

          if you do not have msdn installed http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconnamespacenamingguidelines.asp[^] Stephen

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups