ZennoLab

Automate everything

User Tools

Site Tools


Sidebar

Translations of this page:

en:projectmaker:using

Using directives and Shared code

To simplify own code using, ProjectMaker allows to declare Using directives and write Shared code in a project for all C# macros. For it you should add static block Using directives and Shared code.

In properties you can declare Using directives, that you would like to use in C# macros.

And also write Shared code, for example declare C# class or function, which you will be able to call in C# snippets inside project. Note, class or function should be declared as public.

Shared code can also be loaded from text file.

en/projectmaker/using.txt · Last modified: 2015/10/19 15:55 by vladz