C# 클래스 msos.CommandExecutionContext

상속: IDisposable
파일 보기 프로젝트 열기: goldshtn/msos 1 사용 예제들

공개 메소드들

메소드 설명
CommandExecutionContext ( ) : System
CreateTemporaryDbgEngTarget ( ) : Microsoft.Diagnostics.Runtime.DataTarget

Creates a temporary DbgEng DataTarget. It is used for a single command's execution, such as !lm or !mk, and disposed immediately thereafter. If there is already a persistent DbgEng DataTarget, i.e. the debugger is currently in native DbgEng "mode", this method fails.

Dispose ( ) : void
EnterDbgEngNativeMode ( ) : void

Creates a persistent DbgEng DataTarget that can be used to execute multiple commands (remembers state). While this DataTarget is in place, msos is placed in native DbgEng "mode", and accepts only DbgEng commands.

ExecuteCommand ( string inputCommand ) : void
ExecuteOneCommand ( string command ) : void
ExitDbgEngNativeMode ( ) : void
GetTypeByMetadataToken ( string moduleName, int mdTypeDefToken ) : ClrType
RemoveTemporaryAliases ( ) : void
Write ( string format ) : void
WriteError ( string value ) : void
WriteErrorLine ( string format ) : void
WriteInfo ( string value ) : void
WriteInfoLine ( string format ) : void
WriteLine ( ) : void
WriteLine ( string format ) : void
WriteLink ( string text, string command ) : void
WriteWarning ( string value ) : void
WriteWarningLine ( string format ) : void

비공개 메소드들

메소드 설명
AddTemporaryAlias ( string command ) : string
CreateDbgEngDataTargetImpl ( ) : Microsoft.Diagnostics.Runtime.DataTarget
GetAllCommandTypes ( ) : System.Type[]
InitParserIfNecessary ( ) : void
IsCommandIsSupportedForThisTarget ( Type type ) : bool

메소드 상세

CommandExecutionContext() 공개 메소드

public CommandExecutionContext ( ) : System
리턴 System

CreateTemporaryDbgEngTarget() 공개 메소드

Creates a temporary DbgEng DataTarget. It is used for a single command's execution, such as !lm or !mk, and disposed immediately thereafter. If there is already a persistent DbgEng DataTarget, i.e. the debugger is currently in native DbgEng "mode", this method fails.
public CreateTemporaryDbgEngTarget ( ) : Microsoft.Diagnostics.Runtime.DataTarget
리턴 Microsoft.Diagnostics.Runtime.DataTarget

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EnterDbgEngNativeMode() 공개 메소드

Creates a persistent DbgEng DataTarget that can be used to execute multiple commands (remembers state). While this DataTarget is in place, msos is placed in native DbgEng "mode", and accepts only DbgEng commands.
public EnterDbgEngNativeMode ( ) : void
리턴 void

ExecuteCommand() 공개 메소드

public ExecuteCommand ( string inputCommand ) : void
inputCommand string
리턴 void

ExecuteOneCommand() 공개 메소드

public ExecuteOneCommand ( string command ) : void
command string
리턴 void

ExitDbgEngNativeMode() 공개 메소드

public ExitDbgEngNativeMode ( ) : void
리턴 void

GetTypeByMetadataToken() 공개 메소드

public GetTypeByMetadataToken ( string moduleName, int mdTypeDefToken ) : ClrType
moduleName string
mdTypeDefToken int
리턴 ClrType

RemoveTemporaryAliases() 공개 메소드

public RemoveTemporaryAliases ( ) : void
리턴 void

Write() 공개 메소드

public Write ( string format ) : void
format string
리턴 void

WriteError() 공개 메소드

public WriteError ( string value ) : void
value string
리턴 void

WriteErrorLine() 공개 메소드

public WriteErrorLine ( string format ) : void
format string
리턴 void

WriteInfo() 공개 메소드

public WriteInfo ( string value ) : void
value string
리턴 void

WriteInfoLine() 공개 메소드

public WriteInfoLine ( string format ) : void
format string
리턴 void

WriteLine() 공개 메소드

public WriteLine ( ) : void
리턴 void

WriteLine() 공개 메소드

public WriteLine ( string format ) : void
format string
리턴 void

WriteLink() 공개 메소드

public WriteLink ( string text, string command ) : void
text string
command string
리턴 void

WriteWarning() 공개 메소드

public WriteWarning ( string value ) : void
value string
리턴 void

WriteWarningLine() 공개 메소드

public WriteWarningLine ( string format ) : void
format string
리턴 void