Пример #1
0
 public override bool CallCondition(Articy.Unity.Interfaces.IGlobalVariables aGlobalVariables, int aHash, Articy.Unity.IBaseScriptMethodProvider aMethodProvider)
 {
     if ((Conditions.ContainsKey(aHash) == false))
     {
         return(true);
     }
     if ((aMethodProvider != null))
     {
         aMethodProvider.IsCalledInForecast = aGlobalVariables.IsInShadowState;
     }
     return(Conditions[aHash].Invoke(((ArticyGlobalVariables)(aGlobalVariables)), aMethodProvider));
 }
Пример #2
0
 public bool Evaluate([System.Runtime.InteropServices.OptionalAttribute()] Articy.Unity.IBaseScriptMethodProvider aMethodProvider, [System.Runtime.InteropServices.OptionalAttribute()] Articy.Unity.Interfaces.IGlobalVariables aGlobalVariables)
 {
     return(Expression.CallScript(aMethodProvider, aGlobalVariables));
 }
Пример #3
0
 public void Evaluate([System.Runtime.InteropServices.OptionalAttribute()] Articy.Unity.IBaseScriptMethodProvider aMethodProvider, [System.Runtime.InteropServices.OptionalAttribute()] Articy.Unity.Interfaces.IGlobalVariables aGlobalVariables)
 {
     Text.CallScript(aMethodProvider, aGlobalVariables);
 }