Table of Contents

Class LmesDebuger

Namespace
CMS.Plugin.MesSuite.Abstractions
Assembly
CMS.Plugin.MesSuite.Abstractions.dll

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class LmesDebuger : ILmesDebuger
Inheritance
LmesDebuger
Implements
Inherited Members

Constructors

LmesDebuger()

Initializes a new instance of the LmesDebuger class. Implements the ILmesDebuger interface to provide functionality for checking if the application is in debug mode.

public LmesDebuger()

Methods

IsDebug()

Determines if the application is currently in debug mode. The debug mode is defined by the presence of a "lmes.debug" file in the application's base directory. This method returns the current state of the debug mode, which is refreshed every 60 seconds.

public bool IsDebug()

Returns

bool

A boolean value indicating whether the application is in debug mode. True if the "lmes.debug" file exists and false otherwise.