Example #1
0
        public override void buildMyself()
        {
            methodMetadata.IsExpanded = true;
            log.Info("Odwiedzono Metode: " + Name);
            if (methodMetadata.getGenerics() != null)
            {
                foreach (TypeMetadata types in methodMetadata.getGenerics())
                {
                    TypeMetadata tm = types;
                    tm = all.retType(tm);
                    Children.Add(new TypeTreeViewItem(tm, all)
                    {
                        Name = tm.getName()
                    });
                }
            }
            if (methodMetadata.getReturnedType() != null)
            {
                TypeMetadata tm = methodMetadata.getReturnedType();

                if (tm.getName() != "Void")
                {
                    tm = all.retType(tm);
                    Children.Add(new TypeTreeViewItem(tm, all)
                    {
                        Name = tm.getName()
                    });
                }
            }
            if (methodMetadata.getParametr() != null)
            {
                foreach (ParameterMetadata pm in methodMetadata.getParametr())
                {
                    TypeMetadata tm = pm.getTypeMetadata();

                    tm = all.retType(tm);
                    Children.Add(new TypeTreeViewItem(tm, all)
                    {
                        Name = tm.getName()
                    });
                }
            }
        }
Example #2
0
        public override void buildMyself()
        {
            TypeMetadata tm = propertyMetadata.geTypeMetadata();

            tm = all.retType(tm);
            log.Info("Odwiedzono Property: " + Name);
            Children.Add(new TypeTreeViewItem(tm, all)
            {
                Name = propertyMetadata.geTypeMetadata().getName()
            });
        }
Example #3
0
 public override void buildMyself()
 {
     typeMetadata.IsExpanded = true;
     log.Info("Odwiedzono Typ: " + Name);
     if (typeMetadata.getNestedTypes() != null)
     {
         foreach (TypeMetadata types in typeMetadata.getNestedTypes())
         {
             TypeMetadata tm = types;
             tm = all.retType(tm);
             Children.Add(new TypeTreeViewItem(tm, all)
             {
                 Name = types.getName()
             });
         }
     }
     if (typeMetadata.getGenericArguments() != null)
     {
         foreach (TypeMetadata types in typeMetadata.getGenericArguments())
         {
             TypeMetadata tm = types;
             tm = all.retType(tm);
             Children.Add(new TypeTreeViewItem(tm, all)
             {
                 Name = types.getName()
             });
         }
     }
     if (typeMetadata.getImplementedInterfaces() != null)
     {
         foreach (TypeMetadata types in typeMetadata.getImplementedInterfaces())
         {
             TypeMetadata tm = types;
             tm = all.retType(tm);
             Children.Add(new TypeTreeViewItem(tm, all)
             {
                 Name = types.getName()
             });
         }
     }
     if (typeMetadata.getMethods() != null)
     {
         foreach (MethodMetadata methods in typeMetadata.getMethods())
         {
             Children.Add(new MethodTreeViewItem(methods, all)
             {
                 Name = methods.getName()
             });
         }
     }
     if (typeMetadata.getConstructors() != null)
     {
         foreach (MethodMetadata methods in typeMetadata.getConstructors())
         {
             Children.Add(new MethodTreeViewItem(methods, all)
             {
                 Name = methods.getName()
             });
         }
     }
     if (typeMetadata.getProperties() != null)
     {
         foreach (PropertyMetadata properties in typeMetadata.getProperties())
         {
             Children.Add(new PropertyTreeViewItem(properties, all)
             {
                 Name = properties.getName()
             });
         }
     }
 }