Показать сообщение отдельно
Старый 26.07.2012, 17:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,646 / 848 (80) +++++++
Регистрация: 28.10.2006
sashanazarov: Parm-methods generator script
Источник: http://sashanazarov.blogspot.com/201...or-script.html
==============

It may be boring to manualy create parm-methods for each an every class member variable, although there is an editor script for that. By the way, there is a bug-o-feature in AX 2012 editor, which does not allow you to select anything but an EDT for the variable type.

This is a script that auto-generates parm-methods for a class, based on its class declaration:
<span style="font-size: x-small;">static void createParmMethod(Args _args)
{
#AOT

ClassName className = classStr(MyClass); //
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.