System.ComponentModel.MemberDescriptor.FillAttributes C# (CSharp) 메소드

FillAttributes() 보호된 메소드

In an inheriting class, adds the attributes of the inheriting class to the specified list of attributes in the parent class. For duplicate attributes, the last one added to the list will be kept.

protected FillAttributes ( IList attributeList ) : void
attributeList IList
리턴 void
        protected virtual void FillAttributes(IList attributeList)
        {
            if (_originalAttributes != null)
            {
                foreach (Attribute attr in _originalAttributes)
                {
                    attributeList.Add(attr);
                }
            }
        }