SampleSmart 1.0.0.0
SampleSmart 사용 방법을 보여 주는 예제 프로젝트입니다.
로딩중...
검색중...
일치하는것 없음
SampleSmart.Pages.PageSub.CommunicationTabs.InMemoryCommunicationTabEvent 클래스 참조sealed

더 자세히 ...

SampleSmart.Pages.PageSub.CommunicationTabs.InMemoryCommunicationTabEvent에 대한 협력 다이어그램:

Public 멤버 함수

 InMemoryCommunicationTabEvent (CommunicationSampleRuntime runtime)
void AddChannel ()
void Connect ()
void Disconnect ()
void SendTest ()
void ReceiveTest ()

속성

string InMemorySendText [get, set]
string InMemoryReceiveText [get, set]

Private 속성

readonly CommunicationSampleRuntime _runtime

상세한 설명

InMemory Communication 샘플 탭 이벤트 처리 클래스입니다.

InMemoryCommunicationTab.xaml.Event.cs 파일의 11 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

◆ InMemoryCommunicationTabEvent()

SampleSmart.Pages.PageSub.CommunicationTabs.InMemoryCommunicationTabEvent.InMemoryCommunicationTabEvent ( CommunicationSampleRuntime runtime)
inline

InMemoryCommunicationTabEvent 클래스의 새 인스턴스를 초기화합니다.

매개변수
runtimeCommunication 샘플 공유 Runtime입니다.
예외
ArgumentNullException필수 입력 인자 중 하나가 null인 경우 발생합니다.

InMemoryCommunicationTab.xaml.Event.cs 파일의 47 번째 라인에서 정의되었습니다.

48 {
49 _runtime = runtime ?? throw new ArgumentNullException(nameof(runtime));
50
51 InMemorySendText = "Hello from SampleSmart InMemory";
52 InMemoryReceiveText = "Manual InMemory receive test";
53 }

다음을 참조함 : _runtime, InMemoryReceiveText, InMemorySendText.

멤버 함수 문서화

◆ AddChannel()

void SampleSmart.Pages.PageSub.CommunicationTabs.InMemoryCommunicationTabEvent.AddChannel ( )
inline

InMemory 채널을 추가합니다.

InMemoryCommunicationTab.xaml.Event.cs 파일의 83 번째 라인에서 정의되었습니다.

84 {
85 _runtime.AddInMemoryChannel();
86 }

다음을 참조함 : _runtime.

◆ Connect()

void SampleSmart.Pages.PageSub.CommunicationTabs.InMemoryCommunicationTabEvent.Connect ( )
inline

InMemory MessageBus에 연결합니다.

InMemoryCommunicationTab.xaml.Event.cs 파일의 96 번째 라인에서 정의되었습니다.

97 {
98 _ = _runtime.ConnectInMemoryAsync();
99 }

다음을 참조함 : _runtime.

◆ Disconnect()

void SampleSmart.Pages.PageSub.CommunicationTabs.InMemoryCommunicationTabEvent.Disconnect ( )
inline

InMemory MessageBus 연결을 해제합니다.

InMemoryCommunicationTab.xaml.Event.cs 파일의 109 번째 라인에서 정의되었습니다.

110 {
111 _ = _runtime.DisconnectInMemoryAsync();
112 }

다음을 참조함 : _runtime.

◆ ReceiveTest()

void SampleSmart.Pages.PageSub.CommunicationTabs.InMemoryCommunicationTabEvent.ReceiveTest ( )
inline

InMemory 수동 수신 로그를 추가합니다.

InMemoryCommunicationTab.xaml.Event.cs 파일의 135 번째 라인에서 정의되었습니다.

136 {
137 _runtime.ReceiveInMemory(InMemoryReceiveText);
138 }

다음을 참조함 : _runtime, InMemoryReceiveText.

◆ SendTest()

void SampleSmart.Pages.PageSub.CommunicationTabs.InMemoryCommunicationTabEvent.SendTest ( )
inline

InMemory MessageBus로 테스트 메시지를 송신합니다.

InMemoryCommunicationTab.xaml.Event.cs 파일의 122 번째 라인에서 정의되었습니다.

123 {
124 _ = _runtime.SendInMemoryAsync(InMemorySendText);
125 }

다음을 참조함 : _runtime, InMemorySendText.

멤버 데이터 문서화

◆ _runtime

readonly CommunicationSampleRuntime SampleSmart.Pages.PageSub.CommunicationTabs.InMemoryCommunicationTabEvent._runtime
private

runtime 값을 보관합니다.

InMemoryCommunicationTab.xaml.Event.cs 파일의 21 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : AddChannel(), Connect(), Disconnect(), InMemoryCommunicationTabEvent(), ReceiveTest(), SendTest().

속성 문서화

◆ InMemoryReceiveText

string SampleSmart.Pages.PageSub.CommunicationTabs.InMemoryCommunicationTabEvent.InMemoryReceiveText
getset

InMemory 수동 수신 문자열입니다.

InMemoryCommunicationTab.xaml.Event.cs 파일의 73 번째 라인에서 정의되었습니다.

73{ get; set; }

다음에 의해서 참조됨 : InMemoryCommunicationTabEvent(), ReceiveTest().

◆ InMemorySendText

string SampleSmart.Pages.PageSub.CommunicationTabs.InMemoryCommunicationTabEvent.InMemorySendText
getset

InMemory 송신 문자열입니다.

InMemoryCommunicationTab.xaml.Event.cs 파일의 63 번째 라인에서 정의되었습니다.

63{ get; set; }

다음에 의해서 참조됨 : InMemoryCommunicationTabEvent(), SendTest().


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: