|
![]() |
#1 |
Чайный пьяница
|
Покажите пожалуйста кусок кода плагина, где вы объявляете _currentContext, где присваиваете значение.
__________________
Эмо разработчик, сначала пишу код, потом плачу над его несовершенством. Подписывайтесь на мой блог, twitter и YouTube канал. Пользуйтесь моим Ultimate Workflow Toolkit Последний раз редактировалось a33ik; 13.03.2013 в 13:51. Причина: Туплю. 4.0 - какая нафиг изоляция. |
|
![]() |
#2 |
Участник
|
Цитата:
X++: public abstract class PluginBase : IPlugin { protected DynamicEntity _preEntityImage = null; protected DynamicEntity _entity = null; protected Moniker _moniker = null; protected DynamicEntity _postEntityImage = null; protected string _secureInformation; protected string _unsecureInformation; protected IPluginExecutionContext _currentContext; public PluginBase(string unsecureInfo, string secureInfo) { _unsecureInformation = unsecureInfo; _secureInformation = secureInfo; } public virtual void Execute(IPluginExecutionContext context) { _currentContext = context; } } |
|
|
|