public void ConvertToFormat(object obj) { if (obj == null) { return; } MSBuildHandler handler; SolutionItem item = obj as SolutionItem; if (item != null) { handler = item.GetItemHandler() as MSBuildHandler; if (handler != null) { handler.SetSolutionFormat(this, true); return; } } MSBuildProjectService.InitializeItemHandler(item); handler = (MSBuildHandler)item.ItemHandler; handler.SetSolutionFormat(this, true); }
public static ISolutionItemHandler GetItemHandler(SolutionItem item) { return(item.GetItemHandler()); }
public static ISolutionItemHandler GetItemHandler (SolutionItem item) { return item.GetItemHandler (); }