C# 클래스 Kentico.KInspector.Modules.ProbeHelper

Provides methods useful for Kentico instance probe installation.

All the probe files must reside within ProbeData directory. The directory content is copied to the Kentico instance folder.

Make sure the content folder items have their Build Action set to "Content" and Copy to Output Directory set to "Copy Always" (because you want the target instance to compile those files, not this tool). Otherwise errors may be encountered when compiling this tool.

For ease of deployment to both web site and web application the probe file is a web form with CodeFile set in its markup and with .designer.cs file generated. But the probe helper should be able to deploy anything (e.g. handler + DLL).

파일 보기 프로젝트 열기: Kentico/KInspector

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
InstallProbe ( DirectoryInfo pathToKenticoFiles ) : void

Installs the probe for Kentico instance residing in pathToKenticoFiles (e.g. C:\inetpub\wwwroot\myKenticoInstance\CMS).

UninstallProbe ( DirectoryInfo pathToKenticoFiles ) : void

Uninstalls the probe for Kentico instance residing in pathToKenticoFiles (e.g. C:\inetpub\wwwroot\myKenticoInstance\CMS).

메소드 상세

InstallProbe() 공개 정적인 메소드

Installs the probe for Kentico instance residing in pathToKenticoFiles (e.g. C:\inetpub\wwwroot\myKenticoInstance\CMS).
public static InstallProbe ( DirectoryInfo pathToKenticoFiles ) : void
pathToKenticoFiles System.IO.DirectoryInfo Path to Kentico instance.
리턴 void

UninstallProbe() 공개 정적인 메소드

Uninstalls the probe for Kentico instance residing in pathToKenticoFiles (e.g. C:\inetpub\wwwroot\myKenticoInstance\CMS).
public static UninstallProbe ( DirectoryInfo pathToKenticoFiles ) : void
pathToKenticoFiles System.IO.DirectoryInfo Path to Kentico instance.
리턴 void