Exemplo n.º 1
0
            public PropertyDescriptorCollection GetProperties(Attribute[] attributes)
            {
                List <PathElementPropertyDescriptor> customProperties = new List <PathElementPropertyDescriptor>();

                foreach (PathElement child in Children)
                {
                    PathElementPropertyDescriptor showPlanPropertyDescriptor = new PathElementPropertyDescriptor(child);
                    customProperties.Add(showPlanPropertyDescriptor);
                }

                return(new PropertyDescriptorCollection(customProperties.ToArray()));
            }
Exemplo n.º 2
0
			public PropertyDescriptorCollection GetProperties(Attribute[] attributes)
			{
				List<PathElementPropertyDescriptor> customProperties = new List<PathElementPropertyDescriptor>();
				foreach (PathElement child in Children)
				{
					PathElementPropertyDescriptor showPlanPropertyDescriptor = new PathElementPropertyDescriptor(child);
					customProperties.Add(showPlanPropertyDescriptor);
				}

				return new PropertyDescriptorCollection(customProperties.ToArray());
			}