Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retrieving the c or r attribute values from a script file
#2
Code:
Copy      Help
// script "ppBuild script1.cs"
/*/ role editorExtension; testInternal Au.Editor; r Au.Editor.dll; r Au.Controls.dll; /*/

var c = PrePostBuild.Info;
var f = App.Model.FindCodeFile(c.source);
var mcp = new MetaCommentsParser(f);
print.it(mcp.c);
print.it(mcp.r);
if (mcp.c.Contains("powershell.cs")) { print.it("Contains powershell.cs class file"); }


Messages In This Thread
RE: Retrieving the c or r attribute values from a script file - by Gintaras - 08-20-2024, 05:03 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)