//--------------------------------------------------------------------------------- /// <summary> /// Current level in the stack /// </summary> //--------------------------------------------------------------------------------- public static StackLevel CurrentLevel(this StackInfo stack) { return(stack.Levels.Where(l => l.Number == stack.CurrentLevelNumber).FirstOrDefault()); }
//--------------------------------------------------------------------------------- /// <summary> /// Get branch name with stack suffix /// </summary> //--------------------------------------------------------------------------------- public static string CreateBranchLevelName(this StackInfo stack, int levelNumber) { return(stack.StackName + "/ss" + levelNumber.ToString("000")); }
public StackLevel GetLevelDetails(StackInfo stack, StackLevel level) => _processor.GetLevelDetails(level);