internal static string Print(PropertyDeclaration property)
        {
            var printer = new NodePrinter();

            printer._type = property.GetOwnerType();
            printer.PrintProperty(property);

            return(printer.ToString());
        }
Пример #2
0
        public PropertyViewModel FindProperty(PropertyDeclaration property)
        {
            var type = property.GetOwnerType();

            var typeViewModel = FindType(type);

            if (typeViewModel == null)
            {
                return(null);
            }

            return(typeViewModel.FindProperty(property));
        }