CSharpUML.UmlAttribute.UmlAttribute C# (CSharp) Метод

UmlAttribute() публичный Метод

public UmlAttribute ( CSharpBlock block, UmlClass classobj ) : System
block CSharpBlock
classobj UmlClass
Результат System
        public UmlAttribute(CSharpBlock block, UmlClass classobj)
            : base(block)
        {
            name = name.Split ('=') [0].TrimAll ();

            if (name.Contains (" ")) {
                string[] p = name.CleanGenerics ()
                    .Split (new char[]{' '}, StringSplitOptions.RemoveEmptyEntries);
                type = p [0];
                name = "";
                for (int i = 0; i < p.Length; ++i) {
                    name += i == 0 ? "" : " " + p [i];
                }
            }
            name = name.TrimAll ();

            commentsKey = Comments.Key (classobj.Name, name);
        }

Same methods

UmlAttribute::UmlAttribute ( Tag tag, UmlClass classobj ) : System
UmlAttribute::UmlAttribute ( UmlBlock block, UmlClass classobj ) : System