IEventManager
시스템 이벤트를 쓰고 조회하기 위한 인터페이스입니다.
네임스페이스: ControlBee.Interfaces
메서드
Write
이벤트 로그에 이벤트를 씁니다.
void Write(
string actorName,
string name,
DialogSeverity severity = DialogSeverity.Info,
int? code = null,
string? desc = null
);
매개변수:
actorName— 이벤트를 생성한 액터의 이름입니다.name— 이벤트 이름입니다.severity— 심각도 수준입니다. 기본값은DialogSeverity.Info입니다.code— 선택적 이벤트 코드입니다.desc— 선택적 설명입니다.
GetDatabase
기본 데이터베이스 인스턴스를 반환합니다.
IDatabase GetDatabase();
ReadAll
지정된 테이블의 모든 레코드를 읽습니다.
DataTable ReadAll(string tableName, QueryOptions? options = null);
이벤트
EventOccured
이벤트가 기록될 때 발생합니다.
event EventHandler<EventMessage>? EventOccured;