internal static string Print(PropertyDeclaration property) { var printer = new NodePrinter(); printer._type = property.GetOwnerType(); printer.PrintProperty(property); return(printer.ToString()); }
public PropertyViewModel FindProperty(PropertyDeclaration property) { var type = property.GetOwnerType(); var typeViewModel = FindType(type); if (typeViewModel == null) { return(null); } return(typeViewModel.FindProperty(property)); }