internal static string Print(EventDeclaration e) { var printer = new NodePrinter(); printer._type = e.GetOwnerType(); printer.PrintEvent(e); return(printer.ToString()); }
public EventViewModel FindEvent(EventDeclaration eventDecl) { var type = eventDecl.GetOwnerType(); var typeViewModel = FindType(type); if (typeViewModel == null) { return(null); } return(typeViewModel.FindEvent(eventDecl)); }