Skip to content

Control translation process with attributes

Piotr edited this page Dec 5, 2013 · 3 revisions

Assembly decoration

  • [ScriptNameAttribute](Attribute ScriptName) - changes class name or method name
  • [PageAttribute](Attribute Page) - invoking of static method PhpMain
  • [ConfigModuleAttribute](Attribute ConfigModule) - changes cs2php default module name
  • [RootPathAttribute](Attribute RootPath) - root path where library is located

Method decoration

  • [ScriptNameAttribute](Attribute ScriptName) - changes class name or method name

Clone this wiki locally