public LavaMapMethodDescriptor(string name, LavaMapMethodDelegate method,
                                Type methodReturnType)
     : base(name, null)
 {
     _method           = method;
     _methodReturnType = methodReturnType;
 }
            public PropertyDescriptorCollection GetView()
            {
                List <PropertyDescriptor> props = new List <PropertyDescriptor>();
                LavaMapMethodDelegate     del   = delegate(LavaMapBrowserData data)
                {
                    return(data.name);
                };

                props.Add(new LavaMapMethodDescriptor("Map Name", del, typeof(string)));

                del = delegate(LavaMapBrowserData data)
                {
                    return(data.author);
                };
                props.Add(new LavaMapMethodDescriptor("Submitted By", del, typeof(string)));

                del = delegate(LavaMapBrowserData data)
                {
                    return(data.dateTime.ToString("MM/dd/yyyy hh:mm tt"));
                };
                props.Add(new LavaMapMethodDescriptor("Submitted On", del, typeof(string)));

                PropertyDescriptor[] propArray = new PropertyDescriptor[props.Count];
                props.CopyTo(propArray);
                return(new PropertyDescriptorCollection(propArray));
            }