|
Dreamine.Logging.Wpf 1.0.2
Dreamine.Logging.Wpf 사용자 인터페이스 기능과 구성 요소를 제공합니다.
|


클래스 | |
| class | LogEntryCollection |
Public 멤버 함수 | |
| DreamineLogPanelViewModel (IDreamineLogStore logStore, ILogUiDispatcher dispatcher) | |
| DreamineLogPanelViewModel (IDreamineLogStore logStore, ILogUiDispatcher dispatcher, int displayCapacity) | |
| void | Clear () |
| void | Dispose () |
정적 Public 속성 | |
| const int | DefaultDisplayCapacity = 1000 |
속성 | |
| ObservableCollection< DreamineLogEntry > | Entries = new LogEntryCollection() [get] |
| bool | AutoScroll [get, set] |
| DreamineLogEntry? | SelectedEntry [get, set] |
| string | SelectedDetailText [get] |
이벤트 | |
| PropertyChangedEventHandler? | PropertyChanged |
| EventHandler< DreamineLogEntry >? | EntryAppended |
Private 멤버 함수 | |
| void | OnLogAdded (object? sender, DreamineLogEntry entry) |
| void | OnEntriesBatch (IReadOnlyList< DreamineLogEntry?> batch) |
| void | OnPropertyChanged ([CallerMemberName] string? propertyName=null) |
Private 속성 | |
| readonly IDreamineLogStore | _logStore |
| readonly BatchedDispatcher< DreamineLogEntry?> | _uiDispatcher |
| readonly int | _displayCapacity |
| DreamineLogEntry? | _selectedEntry |
| bool | _autoScroll = true |
| bool | _disposed |
Dreamine 로그 패널용 ViewModel을 제공합니다.
표시 항목 수를 제한하고 모든 스레드의 새 로그를 UI 배치로 합쳐 디스패처 적체를 방지합니다.
DreamineLogPanelViewModel.cs 파일의 30 번째 라인에서 정의되었습니다.
|
inline |
기본 표시 용량으로 T:Dreamine.Logging.Wpf.ViewModels.DreamineLogPanelViewModel을 초기화합니다.
| logStore | 로그 저장소입니다. |
| dispatcher | WPF UI 디스패처 래퍼입니다. |
DreamineLogPanelViewModel.cs 파일의 216 번째 라인에서 정의되었습니다.
다음을 참조함 : DefaultDisplayCapacity.
|
inline |
지정한 표시 용량으로 T:Dreamine.Logging.Wpf.ViewModels.DreamineLogPanelViewModel을 초기화합니다.
| logStore | 로그 저장소입니다. |
| dispatcher | WPF UI 디스패처 래퍼입니다. |
| displayCapacity | 유지할 최대 표시 항목 수이며 0 이하면 기본값을 사용합니다. |
| ArgumentNullException | 저장소 또는 디스패처가 null인 경우 발생합니다. |
DreamineLogPanelViewModel.cs 파일의 263 번째 라인에서 정의되었습니다.
다음을 참조함 : _displayCapacity, _logStore, _uiDispatcher, DefaultDisplayCapacity, Dreamine.Logging.Wpf.Services.ILogUiDispatcher.Dispatcher, Entries, OnEntriesBatch(), OnLogAdded().

|
inline |
표시된 로그 항목과 기본 저장소를 모두 지웁니다.
표시된 로그 항목과 기본 저장소를 모두 지웁니다.
DreamineLogPanelViewModel.cs 파일의 305 번째 라인에서 정의되었습니다.
다음을 참조함 : _logStore, _uiDispatcher.
|
inline |
로그 저장소 이벤트 구독을 해제합니다.
DreamineLogPanelViewModel.cs 파일의 321 번째 라인에서 정의되었습니다.
다음을 참조함 : _disposed, OnLogAdded().

|
inlineprivate |
UI 스레드에서 로그 배치 또는 지우기 신호를 적용하고 표시 용량을 제한합니다.
| batch | 적용할 로그 항목 및 지우기 신호 배치입니다. |
DreamineLogPanelViewModel.cs 파일의 383 번째 라인에서 정의되었습니다.
다음을 참조함 : _autoScroll, _displayCapacity, _disposed, Entries, EntryAppended, SelectedEntry.
다음에 의해서 참조됨 : DreamineLogPanelViewModel().

|
inlineprivate |
모든 스레드에서 수신한 새 로그 항목을 UI 배치 큐에 추가합니다.
| sender | 이벤트 발생 원본입니다. |
| entry | 추가된 로그 항목입니다. |
DreamineLogPanelViewModel.cs 파일의 356 번째 라인에서 정의되었습니다.
다음을 참조함 : _disposed, _uiDispatcher.
다음에 의해서 참조됨 : Dispose(), DreamineLogPanelViewModel().

|
inlineprivate |
지정한 속성에 대한 변경 알림을 발생시킵니다.
| propertyName | 변경된 속성 이름입니다. |
DreamineLogPanelViewModel.cs 파일의 442 번째 라인에서 정의되었습니다.
다음을 참조함 : PropertyChanged.
다음에 의해서 참조됨 : Dreamine.Logging.Wpf.ViewModels.DreamineLogPanelViewModel.LogEntryCollection.TrimStart().

|
private |
auto Scroll 값을 보관합니다.
DreamineLogPanelViewModel.cs 파일의 86 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : OnEntriesBatch().
|
private |
display Capacity 값을 보관합니다.
DreamineLogPanelViewModel.cs 파일의 68 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : DreamineLogPanelViewModel(), OnEntriesBatch().
|
private |
disposed 값을 보관합니다.
DreamineLogPanelViewModel.cs 파일의 95 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Dispose(), OnEntriesBatch(), OnLogAdded().
|
private |
log Store 값을 보관합니다.
DreamineLogPanelViewModel.cs 파일의 50 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Clear(), DreamineLogPanelViewModel().
|
private |
selected Entry 값을 보관합니다.
DreamineLogPanelViewModel.cs 파일의 77 번째 라인에서 정의되었습니다.
|
private |
ui Dispatcher 값을 보관합니다.
DreamineLogPanelViewModel.cs 파일의 59 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Clear(), DreamineLogPanelViewModel(), OnLogAdded().
|
static |
P:Dreamine.Logging.Wpf.ViewModels.DreamineLogPanelViewModel.Entries에 유지할 기본 최대 항목 수입니다.
DreamineLogPanelViewModel.cs 파일의 40 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : DreamineLogPanelViewModel(), DreamineLogPanelViewModel().
|
getset |
가장 최근 항목을 자동 선택할지 여부를 가져오거나 설정합니다.
가장 최근 항목을 자동 선택할지 여부를 가져오거나 설정합니다.
DreamineLogPanelViewModel.cs 파일의 143 번째 라인에서 정의되었습니다.
|
get |
로그 패널에 표시되는 로그 항목을 가져옵니다.
DreamineLogPanelViewModel.cs 파일의 125 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : DreamineLogPanelViewModel(), OnEntriesBatch().
|
get |
선택된 로그 항목의 상세 텍스트를 가져옵니다.
DreamineLogPanelViewModel.cs 파일의 190 번째 라인에서 정의되었습니다.
|
getset |
선택된 로그 항목을 가져오거나 설정합니다.
DreamineLogPanelViewModel.cs 파일의 166 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : OnEntriesBatch().
| EventHandler<DreamineLogEntry>? Dreamine.Logging.Wpf.ViewModels.DreamineLogPanelViewModel.EntryAppended |
배치가 추가된 후 가장 최근 항목과 함께 UI 스레드에서 발생합니다.
DreamineLogPanelViewModel.cs 파일의 115 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : OnEntriesBatch().
| PropertyChangedEventHandler? Dreamine.Logging.Wpf.ViewModels.DreamineLogPanelViewModel.PropertyChanged |
속성 값이 변경될 때 발생합니다.
DreamineLogPanelViewModel.cs 파일의 105 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : OnPropertyChanged().