C# 클래스 SiteStatus.Factories.DatabaseMonitorFactory

This handles the instantiation of the correct IStatusMonitor for services of the Database ServiceType.
상속: BaseStatusMonitorFactory
파일 보기 프로젝트 열기: iinteractive/site-status 1 사용 예제들

공개 메소드들

메소드 설명
DatabaseMonitorFactory ( ) : System

Creates a database monitor factory for generating IServiceMonitors for checking the status of the site's databases.

GetMonitor ( Service service ) : IStatusMonitor

Gets an implementation of IStatusMonitor that uses appropriate code, and SQL to determine the availability of the database.

메소드 상세

DatabaseMonitorFactory() 공개 메소드

Creates a database monitor factory for generating IServiceMonitors for checking the status of the site's databases.
public DatabaseMonitorFactory ( ) : System
리턴 System

GetMonitor() 공개 메소드

Gets an implementation of IStatusMonitor that uses appropriate code, and SQL to determine the availability of the database.
public GetMonitor ( Service service ) : IStatusMonitor
service Service A database service to retrieve a status monitor.
리턴 IStatusMonitor