Show / Hide Table of Contents

Class LongOperationHelpers

Provides utilities for managing long-running document operations.

Inheritance
object
LongOperationHelpers
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: CoverageKiller2
Assembly: CoverageKiller2.dll
Syntax
public static class LongOperationHelpers
Remarks

Version: CK2.00.03.0003

Methods

DoStandardPause()

Declaration
public static void DoStandardPause()

PauseWithCountdown(string, int, bool)

Declaration
public static bool PauseWithCountdown(string message = "Paused", int seconds = 30, bool allowCancel = false)
Parameters
Type Name Description
string message
int seconds
bool allowCancel
Returns
Type Description
bool

TrySilentSave(CKDocument, string)

Attempts to save the document without prompting the user. Logs and suppresses errors.

Declaration
public static void TrySilentSave(CKDocument doc, string context = "")
Parameters
Type Name Description
CKDocument doc

The document to save.

string context

Optional string describing the current operation for logging.

In this article
Back to top Generated by DocFX