Can I create c# functions in ZP to reuse code

pnikven

Новичок
Регистрация
17.12.2015
Сообщения
14
Благодарностей
2
Баллы
3
Hello!

Is there some way to create some kind of "functions" (reusable pieces of C# code chunks) in ZP project.

In other words, I want to describe some logic in one place (by creating C# macros) and then use it in multiple places of my project.

Now I just copy-paste this macros everywhere, but when I need to change logic, I must change it in all places. It is inconvenient.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 184
Баллы
113
Hey. In Settings you can find Folder for C# snippets.

But if you change code in files those will not change in all your projects, if thats what you mean.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 300
Благодарностей
5 861
Баллы
113
  • Спасибо
Реакции: lokiys

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)