public PropertyDescriptorCollection GetProperties(Attribute[] attributes)
        {
            PropertyDescriptor[] newProps = new PropertyDescriptor[this.Count];
            for (int i = 0; i < this.Count; i++)
            {
                GameServerProperty prop = (GameServerProperty)this[i];
                newProps[i] = new GameServerPropertyDescriptor(ref prop, attributes);
            }

            return(new PropertyDescriptorCollection(newProps));
        }
 public GameServerPropertyDescriptor(ref GameServerProperty myProperty, Attribute[] attrs) : base(myProperty.Name, attrs)
 {
     m_Property = myProperty;
 }
 /// <summary>
 /// Add CustomProperty to CollectionBase List
 /// </summary>
 /// <param name="Value"></param>
 public void Add(GameServerProperty Value)
 {
     base.List.Add(Value);
 }