/// <summary> /// Convenience method to set the current repeat operation to complete if it exists. /// </summary> public static void SetCompleteOnly() { IRepeatContext context = GetContext(); if (context != null) { context.SetCompleteOnly(); } }
/// <summary> /// Set current session and all ancestors (via parent) to complete., /// </summary> public static void SetAncestorsCompleteOnly() { IRepeatContext context = GetContext(); while (context != null) { context.SetCompleteOnly(); context = context.Parent; } }