/// <summary>
 /// Gets whether this step is visible.
 /// </summary>
 /// <param name="p_csmStateManager">The manager that tracks the currect install state.</param>
 /// <returns><c>true</c> if this step is visible, given the current state;
 /// <c>false</c> otherwise.</returns>
 public bool GetIsVisible(ConditionStateManager p_csmStateManager)
 {
     if (VisibilityCondition == null)
     {
         return(true);
     }
     return(VisibilityCondition.GetIsFulfilled(p_csmStateManager));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets whether this step is visible.
 /// </summary>
 /// <param name="coreDelegates">The Core delegates component.</param>
 /// <returns><c>true</c> if this step is visible, given the current state;
 /// <c>false</c> otherwise.</returns>
 public bool GetIsVisible(ConditionStateManager csmState, CoreDelegates coreDelegates)
 {
     if (VisibilityCondition == null)
     {
         return(true);
     }
     return(VisibilityCondition.GetIsFulfilled(csmState, coreDelegates));
 }