Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » Enumerations » Downloads
 
Add your own
alternative version

Tree Structured Enumerations

, 2 Apr 2008 CPOL
The way to maintain a tree structured enumeration while having all the advantages of the standard ones
treestructuredenumerationsvs2005.zip
_ReSharper.TreeStructuredEnumerations
TodoCache
4
WordIndex.New
0
TreeStructuredEnumerations
bin
Debug
obj
Debug
TempPE
Properties
TreeStructuredEnumerationsVS2008.zip
_UpgradeReport_Files
Backup
TreeStructuredEnumerations
Properties
using System;

namespace TreeStructuredEnumerations
{
    [AttributeUsage(AttributeTargets.Enum)]
    public class StructuredAttribute : Attribute
    {
        public int span;

        public int Span
        {
            get { return span; }
            set { span = value; }
        }

        public StructuredAttribute(int span)
        {
            this.span = span;
        }
    }

}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Smart K8
Software Developer
Czech Republic Czech Republic
Contacts: EMAIL - smartk8@gmail.com

| Advertise | Privacy | Mobile
Web01 | 2.8.141015.1 | Last Updated 2 Apr 2008
Article Copyright 2008 by Smart K8
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid