C# 클래스 MetroTrilithon.Desktop.ApplicationInstance

アプリケーションの多重起動の検知と、起動しているインスタンス間でのメッセージの送受信をサポートします。
상속: IDisposable
파일 보기 프로젝트 열기: Grabacr07/MetroTrilithon 1 사용 예제들

공개 메소드들

메소드 설명
ApplicationInstance ( ) : System
ApplicationInstance ( Assembly targetAssembly ) : System
Dispose ( ) : void
SendCommandLineArgs ( string commandLineArgs ) : void

既に存在するインスタンスに対して、現在のプロセスのコマンド ライン引数を送信します。

비공개 메소드들

메소드 설명
OnMessageReceived ( string commandLineArgs ) : void

CommandLineArgsReceived イベントを発生させます。

메소드 상세

ApplicationInstance() 공개 메소드

public ApplicationInstance ( ) : System
리턴 System

ApplicationInstance() 공개 메소드

public ApplicationInstance ( Assembly targetAssembly ) : System
targetAssembly System.Reflection.Assembly
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

SendCommandLineArgs() 공개 메소드

既に存在するインスタンスに対して、現在のプロセスのコマンド ライン引数を送信します。
public SendCommandLineArgs ( string commandLineArgs ) : void
commandLineArgs string 現在のプロセスのコマンド ライン引数。
리턴 void