C# Class TcmDebugger.Engines.DebugEngineServer

DebugEngineServer is a hosting process for the Tridion templating debug session as a server
Inheritance: Engine
Exibir arquivo Open project: mvlasenko/TridionVSRazorExtension Class Usage Examples

Public Methods

Method Description
DebugEngineServer ( String sessionId ) : System

Initializes a new instance of the DebugEngineServer class.

GetDebuggingState ( String debuggerSessionId, String lastLogMessageId ) : DebuggingStatusResult
GetPackage ( String debuggerSessionId, String packageId ) : PackageResponse
GetPackageItem ( String debuggerSessionId, String packageItemId ) : PackageResponse
ResetDebugging ( String debuggerSessionId ) : void
StartDebuggingWithItemUri ( String compoundTemplateId, String compoundTemplateXml, String itemId, bool includeSystemLog, System logLevel ) : DebuggingStatusResult
StartDebuggingWithPackage ( String compoundTemplateId, String compoundTemplateXml, String packageXml, bool includeSystemLog, System logLevel ) : DebuggingStatusResult
StopDebugging ( String debuggerSessionId, String lastLogMessage ) : DebuggingStatusResult

Private Methods

Method Description
StripXmlDeclaration ( String xml ) : String
WriteLog ( String logMessages ) : void

Method Details

DebugEngineServer() public method

Initializes a new instance of the DebugEngineServer class.
public DebugEngineServer ( String sessionId ) : System
sessionId String Debug session identifier.
return System

GetDebuggingState() public method

public GetDebuggingState ( String debuggerSessionId, String lastLogMessageId ) : DebuggingStatusResult
debuggerSessionId String
lastLogMessageId String
return TcmDebugger.Service.DebuggingStatusResult

GetPackage() public method

public GetPackage ( String debuggerSessionId, String packageId ) : PackageResponse
debuggerSessionId String
packageId String
return TcmDebugger.Service.PackageResponse

GetPackageItem() public method

public GetPackageItem ( String debuggerSessionId, String packageItemId ) : PackageResponse
debuggerSessionId String
packageItemId String
return TcmDebugger.Service.PackageResponse

ResetDebugging() public method

public ResetDebugging ( String debuggerSessionId ) : void
debuggerSessionId String
return void

StartDebuggingWithItemUri() public method

public StartDebuggingWithItemUri ( String compoundTemplateId, String compoundTemplateXml, String itemId, bool includeSystemLog, System logLevel ) : DebuggingStatusResult
compoundTemplateId String
compoundTemplateXml String
itemId String
includeSystemLog bool
logLevel System
return TcmDebugger.Service.DebuggingStatusResult

StartDebuggingWithPackage() public method

public StartDebuggingWithPackage ( String compoundTemplateId, String compoundTemplateXml, String packageXml, bool includeSystemLog, System logLevel ) : DebuggingStatusResult
compoundTemplateId String
compoundTemplateXml String
packageXml String
includeSystemLog bool
logLevel System
return TcmDebugger.Service.DebuggingStatusResult

StopDebugging() public method

public StopDebugging ( String debuggerSessionId, String lastLogMessage ) : DebuggingStatusResult
debuggerSessionId String
lastLogMessage String
return TcmDebugger.Service.DebuggingStatusResult