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. The Lounge
  3. Wow. Now that's what I call an enum

Wow. Now that's what I call an enum

Scheduled Pinned Locked Moved The Lounge
csharpwcfquestion
15 Posts 12 Posters 1 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.
  • P Pete OHanlon

    This is not a programming question. I repeat. This is not a programming question. If you were expecting a programming question here, these aren't the droids you're looking for. Anyway - I'm in the midst of writing an article on using WCF with the Amazon S3 services, when I came across this little beauty of an enum:

    MessageSecurityVersion.WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10
    

    I have to say - it's a beauty.

    Deja View - the feeling that you've seen this post before.

    C Offline
    C Offline
    Chris Maunder
    wrote on last edited by
    #2

    Someone deserves a slap.

    cheers, Chris Maunder

    CodeProject.com : C++ MVP

    P M D P 4 Replies Last reply
    0
    • C Chris Maunder

      Someone deserves a slap.

      cheers, Chris Maunder

      CodeProject.com : C++ MVP

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #3

      I particularly like the fact that February pops up so frequently. I was half expecting it to include HalfAnHourAfterMyTeaWithMyGran in the name.

      Deja View - the feeling that you've seen this post before.

      1 Reply Last reply
      0
      • C Chris Maunder

        Someone deserves a slap.

        cheers, Chris Maunder

        CodeProject.com : C++ MVP

        M Offline
        M Offline
        Mustafa Ismail Mustafa
        wrote on last edited by
        #4

        Someone deserves a slap.

        Chris Maunder

        more like a kick!

        There are 10 kinds of people in this world. Those who understand binary and those who don't... ______________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

        1 Reply Last reply
        0
        • P Pete OHanlon

          This is not a programming question. I repeat. This is not a programming question. If you were expecting a programming question here, these aren't the droids you're looking for. Anyway - I'm in the midst of writing an article on using WCF with the Amazon S3 services, when I came across this little beauty of an enum:

          MessageSecurityVersion.WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10
          

          I have to say - it's a beauty.

          Deja View - the feeling that you've seen this post before.

          D Offline
          D Offline
          Duncan Edwards Jones
          wrote on last edited by
          #5

          Can you imagine that in a world without intellisense?

          '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

          D 1 Reply Last reply
          0
          • C Chris Maunder

            Someone deserves a slap.

            cheers, Chris Maunder

            CodeProject.com : C++ MVP

            D Offline
            D Offline
            Dan Neely
            wrote on last edited by
            #6

            Chris Maunder wrote:

            Someone deserves a slap.

            More than one, and with a quarter staff.

            -- If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.

            1 Reply Last reply
            0
            • P Pete OHanlon

              This is not a programming question. I repeat. This is not a programming question. If you were expecting a programming question here, these aren't the droids you're looking for. Anyway - I'm in the midst of writing an article on using WCF with the Amazon S3 services, when I came across this little beauty of an enum:

              MessageSecurityVersion.WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10
              

              I have to say - it's a beauty.

              Deja View - the feeling that you've seen this post before.

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #7

              It wasn't fixed because the code reviewers are still paralyzed with :wtf:.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007

              1 Reply Last reply
              0
              • P Pete OHanlon

                This is not a programming question. I repeat. This is not a programming question. If you were expecting a programming question here, these aren't the droids you're looking for. Anyway - I'm in the midst of writing an article on using WCF with the Amazon S3 services, when I came across this little beauty of an enum:

                MessageSecurityVersion.WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10
                

                I have to say - it's a beauty.

                Deja View - the feeling that you've seen this post before.

                D Offline
                D Offline
                Dalek Dave
                wrote on last edited by
                #8

                Being very new to programming, (See profile, so don't kick me if this seems wrong or Bad Style etc), would it not be better to call it something shorter and Mnmonical, and provide a comment? it must be easier to type, with less chance of mis-spellings etc, and also I am lazy and prefer terser names! Also, why enum like that anyway? (NOT a programming Question either, merely one of clarification)

                ------------------------------------ Happy Primes Lead to Happy Memories. Don't Google FGI

                D 1 Reply Last reply
                0
                • D Dalek Dave

                  Being very new to programming, (See profile, so don't kick me if this seems wrong or Bad Style etc), would it not be better to call it something shorter and Mnmonical, and provide a comment? it must be easier to type, with less chance of mis-spellings etc, and also I am lazy and prefer terser names! Also, why enum like that anyway? (NOT a programming Question either, merely one of clarification)

                  ------------------------------------ Happy Primes Lead to Happy Memories. Don't Google FGI

                  D Offline
                  D Offline
                  Dan Neely
                  wrote on last edited by
                  #9

                  exactly. The monstrosity was posted for the purpose of mocking and derision.

                  -- If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.

                  D 1 Reply Last reply
                  0
                  • D Dan Neely

                    exactly. The monstrosity was posted for the purpose of mocking and derision.

                    -- If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.

                    D Offline
                    D Offline
                    Dalek Dave
                    wrote on last edited by
                    #10

                    Ah! Consider it mocked and derided, even by a newbie!

                    ------------------------------------ Happy Primes Lead to Happy Memories. Don't Google FGI

                    1 Reply Last reply
                    0
                    • P Pete OHanlon

                      This is not a programming question. I repeat. This is not a programming question. If you were expecting a programming question here, these aren't the droids you're looking for. Anyway - I'm in the midst of writing an article on using WCF with the Amazon S3 services, when I came across this little beauty of an enum:

                      MessageSecurityVersion.WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10
                      

                      I have to say - it's a beauty.

                      Deja View - the feeling that you've seen this post before.

                      D Offline
                      D Offline
                      DavidNohejl
                      wrote on last edited by
                      #11

                      Well, it's still a bit shorter then plain english version :P "Gets the message security version that requires the Basic Security Profile based on WS-Security1.0, WS-TrustFebruary2005, WS-SecureConversationFebruary2005 and WS-SecurityPolicy1.1 security specifications." be good kids and always provide source of your quotes...[^]


                      [My Blog]
                      "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn
                      "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

                      1 Reply Last reply
                      0
                      • C Chris Maunder

                        Someone deserves a slap.

                        cheers, Chris Maunder

                        CodeProject.com : C++ MVP

                        P Offline
                        P Offline
                        Phil Harding
                        wrote on last edited by
                        #12

                        Chris Maunder wrote:

                        Someone deserves a slap

                        Mmmmm I'd go with a wedgie[^]


                        - "I'm not lying, I'm just writing fiction with my mouth"

                        Phil Harding.
                        myBlog [^] | mySite [^]

                        1 Reply Last reply
                        0
                        • P Pete OHanlon

                          This is not a programming question. I repeat. This is not a programming question. If you were expecting a programming question here, these aren't the droids you're looking for. Anyway - I'm in the midst of writing an article on using WCF with the Amazon S3 services, when I came across this little beauty of an enum:

                          MessageSecurityVersion.WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10
                          

                          I have to say - it's a beauty.

                          Deja View - the feeling that you've seen this post before.

                          P Offline
                          P Offline
                          PIEBALDconsult
                          wrote on last edited by
                          #13

                          That belongs in coding horrors.

                          1 Reply Last reply
                          0
                          • D Duncan Edwards Jones

                            Can you imagine that in a world without intellisense?

                            '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

                            D Offline
                            D Offline
                            daniilzol
                            wrote on last edited by
                            #14

                            Not that I would want to abolish IntelliSense, but it's precisely what allowed this abomination to be born.

                            1 Reply Last reply
                            0
                            • P Pete OHanlon

                              This is not a programming question. I repeat. This is not a programming question. If you were expecting a programming question here, these aren't the droids you're looking for. Anyway - I'm in the midst of writing an article on using WCF with the Amazon S3 services, when I came across this little beauty of an enum:

                              MessageSecurityVersion.WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10
                              

                              I have to say - it's a beauty.

                              Deja View - the feeling that you've seen this post before.

                              D Offline
                              D Offline
                              Daniel Grunwald
                              wrote on last edited by
                              #15

                              That's only a 103 characters identifier, C# allows up to 512 characters!

                              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