Dreamine.FullKit.Wpf.Tests 1.0.0.0
Dreamine.FullKit.Wpf.Tests 기능을 검증하는 자동화 테스트 프로젝트입니다.
로딩중...
검색중...
일치하는것 없음
Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager 클래스 참조sealed

더 자세히 ...

Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager에 대한 상속 다이어그램 :
Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager에 대한 협력 다이어그램:

Public 멤버 함수

IDreamineThreadJob Register (DreamineThreadOptions options, Func< CancellationToken, ValueTask > action)
bool Start (string threadName)
bool Stop (string threadName)
ValueTask< bool > StopAsync (string threadName)
bool Pause (string threadName)
bool Resume (string threadName)
void StartAll ()
void StopAll ()
ValueTask StopAllAsync ()
void PauseAll ()
void ResumeAll ()
bool TryGetThread (string threadName, out IDreamineThread? thread)
IReadOnlyList< IDreamineThread > GetThreads ()
IReadOnlyList< DreamineThreadInfo > GetThreadInfos ()
void Dispose ()

상세한 설명

Test Thread Manager 기능과 관련 상태를 캡슐화합니다.

ThreadingWpfTests.cs 파일의 228 번째 라인에서 정의되었습니다.

멤버 함수 문서화

◆ Dispose()

void Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.Dispose ( )
inline

이 인스턴스가 소유한 리소스를 해제합니다.

ThreadingWpfTests.cs 파일의 553 번째 라인에서 정의되었습니다.

554 {
555 }

◆ GetThreadInfos()

IReadOnlyList< DreamineThreadInfo > Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.GetThreadInfos ( )
inline

Thread Infos 값을 가져옵니다.

반환값
Get Thread Infos 작업에서 생성한 IReadOnlyList<DreamineThreadInfo> 결과입니다.

ThreadingWpfTests.cs 파일의 543 번째 라인에서 정의되었습니다.

543=> Array.Empty<DreamineThreadInfo>();

◆ GetThreads()

IReadOnlyList< IDreamineThread > Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.GetThreads ( )
inline

Threads 값을 가져옵니다.

반환값
Get Threads 작업에서 생성한 IReadOnlyList<IDreamineThread> 결과입니다.

ThreadingWpfTests.cs 파일의 525 번째 라인에서 정의되었습니다.

525=> Array.Empty<IDreamineThread>();

◆ Pause()

bool Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.Pause ( string threadName)
inline

Pause 작업을 수행합니다.

매개변수
threadNamethread Name에 사용할 string 값입니다.
반환값
Pause 조건이 충족되면 true이고, 그렇지 않으면 false입니다.

ThreadingWpfTests.cs 파일의 377 번째 라인에서 정의되었습니다.

377=> true;

◆ PauseAll()

void Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.PauseAll ( )
inline

Pause All 작업을 수행합니다.

ThreadingWpfTests.cs 파일의 455 번째 라인에서 정의되었습니다.

456 {
457 }

◆ Register()

IDreamineThreadJob Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.Register ( DreamineThreadOptions options,
Func< CancellationToken, ValueTask > action )
inline

Register 작업을 수행합니다.

매개변수
options동작을 구성하는 설정입니다.
actionaction에 사용할 Func<CancellationToken, ValueTask> 값입니다.
반환값
Register 작업에서 생성한 IDreamineThreadJob 결과입니다.
예외
NotSupportedException요청한 작업이 지원되지 않는 경우 발생합니다.

ThreadingWpfTests.cs 파일의 270 번째 라인에서 정의되었습니다.

271 {
272 throw new NotSupportedException();
273 }

◆ Resume()

bool Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.Resume ( string threadName)
inline

Resume 작업을 수행합니다.

매개변수
threadNamethread Name에 사용할 string 값입니다.
반환값
Resume 조건이 충족되면 true이고, 그렇지 않으면 false입니다.

ThreadingWpfTests.cs 파일의 403 번째 라인에서 정의되었습니다.

403=> true;

◆ ResumeAll()

void Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.ResumeAll ( )
inline

Resume All 작업을 수행합니다.

ThreadingWpfTests.cs 파일의 467 번째 라인에서 정의되었습니다.

468 {
469 }

◆ Start()

bool Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.Start ( string threadName)
inline

Start 작업을 수행합니다.

매개변수
threadNamethread Name에 사용할 string 값입니다.
반환값
Start 조건이 충족되면 true이고, 그렇지 않으면 false입니다.

ThreadingWpfTests.cs 파일의 299 번째 라인에서 정의되었습니다.

299=> true;

◆ StartAll()

void Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.StartAll ( )
inline

Start All 작업을 수행합니다.

ThreadingWpfTests.cs 파일의 413 번째 라인에서 정의되었습니다.

414 {
415 }

◆ Stop()

bool Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.Stop ( string threadName)
inline

Stop 작업을 수행합니다.

매개변수
threadNamethread Name에 사용할 string 값입니다.
반환값
Stop 조건이 충족되면 true이고, 그렇지 않으면 false입니다.

ThreadingWpfTests.cs 파일의 325 번째 라인에서 정의되었습니다.

325=> true;

◆ StopAll()

void Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.StopAll ( )
inline

Stop All 작업을 수행합니다.

ThreadingWpfTests.cs 파일의 425 번째 라인에서 정의되었습니다.

426 {
427 }

◆ StopAllAsync()

ValueTask Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.StopAllAsync ( )
inline

Stop All Async 작업을 수행합니다.

반환값
Stop All Async 작업에서 생성한 ValueTask 결과입니다.

ThreadingWpfTests.cs 파일의 445 번째 라인에서 정의되었습니다.

445=> ValueTask.CompletedTask;

◆ StopAsync()

ValueTask< bool > Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.StopAsync ( string threadName)
inline

Stop Async 작업을 수행합니다.

매개변수
threadNamethread Name에 사용할 string 값입니다.
반환값
Stop Async 작업에서 생성한 ValueTask<bool> 결과입니다.

ThreadingWpfTests.cs 파일의 351 번째 라인에서 정의되었습니다.

351=> ValueTask.FromResult(true);

◆ TryGetThread()

bool Dreamine.FullKit.Wpf.Tests.Threading.ThreadingWpfTests.TestThreadManager.TryGetThread ( string threadName,
out IDreamineThread? thread )
inline

Get Thread 작업을 시도하고 성공 여부를 반환합니다.

매개변수
threadNamethread Name에 사용할 string 값입니다.
threadthread에 사용할 IDreamineThread? 값입니다.
반환값
Try Get Thread 조건이 충족되면 true이고, 그렇지 않으면 false입니다.

ThreadingWpfTests.cs 파일의 503 번째 라인에서 정의되었습니다.

504 {
505 thread = null;
506 return false;
507 }

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