private void ConditionOperatorStoreOnConditionOperatorRemoved(object sender, ConditionOperatorStoreEvent e)
 {
     if (e.Registration.ConditionOperator != Operator)
     {
         return;
     }
     Operator = null;
 }
Esempio n. 2
0
        private void ConditionOperatorStoreOnConditionOperatorAdded(object?sender, ConditionOperatorStoreEvent e)
        {
            BaseConditionOperator conditionOperator = e.Registration.ConditionOperator;

            if (Entity.OperatorPluginGuid == conditionOperator.Plugin !.Guid && Entity.OperatorType == conditionOperator.GetType().Name)
            {
                UpdateOperator(conditionOperator);
            }
        }
 private static void OnConditionOperatorRemoved(ConditionOperatorStoreEvent e)
 {
     ConditionOperatorRemoved?.Invoke(null, e);
 }