[MonoDevelop] ParseFile()

Lluis Sanchez lluis at ximian.com
Wed Nov 9 02:44:46 EST 2005


El mié, 09-11-2005 a las 07:11 +0000, James Fitzsimons escribió:
> Hi all,
> 
> I am trying to  finish something I started prior to the big restructure
> in 0.8. I used to be able to do something like 
> 
> IParseInformation parseInfo = Runtime.Parser.ParseFile(fileName);

It depends on what you want to do, but it could be something like:

IdeApp.ProjectOperations.ParserDatabase.GetProjectParserContext
(projectWhereTheFileBegins).ParserFile (fileName)

> 
> but this no longer works. Likewise with Runtime.Gui.Resources.GetIcon()
> etc...

Use: Services.Resources.GetIcon()

> 
> Can anyone point me in the right direction. I've spent a bit of time
> trawling the source but am a bit confused.
> 
> Cheers,
> James Fitzsimons
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list