C# 클래스 N2.Edit.Installation.InstallationManager

파일 보기 프로젝트 열기: bherila/n2cms 1 사용 예제들

공개 메소드들

메소드 설명
CheckConnection ( string &stackTrace ) : string
CheckDatabase ( ) : string
CheckRootItem ( ) : string
CheckStartPage ( ) : string
ExecuteQuery ( string query ) : IEnumerable
ExportSchema ( ) : string
ExportSchema ( TextWriter output ) : void
ExportUpgradeSchema ( ) : string
GetRootAndStartDefinitions ( IEnumerable allDefinitions ) : IEnumerable

Gets definitions suitable as start pages and root node.

GetRootDefinitions ( IEnumerable allDefinitions ) : IEnumerable

Gets definitions suitable as root nodes.

GetStartDefinitions ( IEnumerable allDefinitions ) : IEnumerable

Gets definitions suitable as start pages.

GetStatus ( ) : DatabaseStatus
InsertExportFile ( Stream stream, string filename ) : ContentItem
InsertRootNode ( Type type, string name, string title ) : ContentItem
InsertStartPage ( Type type, ContentItem root, string name, string title ) : ContentItem
Install ( ) : void
InstallationManager ( ConnectionMonitor connectionContext, Importer importer, IWebContext webContext, IPersister persister, ContentActivator activator ) : System
Is ( InstallerHint flags, InstallerHint expected ) : bool

Checks installer hint bit flags.

UpdateStatus ( SystemStatusLevel currentLevel ) : void
Upgrade ( ) : void

메소드 상세

CheckConnection() 공개 추상적인 메소드

public abstract CheckConnection ( string &stackTrace ) : string
stackTrace string
리턴 string

CheckDatabase() 공개 추상적인 메소드

public abstract CheckDatabase ( ) : string
리턴 string

CheckRootItem() 공개 추상적인 메소드

public abstract CheckRootItem ( ) : string
리턴 string

CheckStartPage() 공개 추상적인 메소드

public abstract CheckStartPage ( ) : string
리턴 string

ExecuteQuery() 공개 추상적인 메소드

public abstract ExecuteQuery ( string query ) : IEnumerable
query string
리턴 IEnumerable

ExportSchema() 공개 추상적인 메소드

public abstract ExportSchema ( ) : string
리턴 string

ExportSchema() 공개 추상적인 메소드

public abstract ExportSchema ( TextWriter output ) : void
output System.IO.TextWriter
리턴 void

ExportUpgradeSchema() 공개 추상적인 메소드

public abstract ExportUpgradeSchema ( ) : string
리턴 string

GetRootAndStartDefinitions() 공개 메소드

Gets definitions suitable as start pages and root node.
public GetRootAndStartDefinitions ( IEnumerable allDefinitions ) : IEnumerable
allDefinitions IEnumerable
리턴 IEnumerable

GetRootDefinitions() 공개 메소드

Gets definitions suitable as root nodes.
public GetRootDefinitions ( IEnumerable allDefinitions ) : IEnumerable
allDefinitions IEnumerable
리턴 IEnumerable

GetStartDefinitions() 공개 메소드

Gets definitions suitable as start pages.
public GetStartDefinitions ( IEnumerable allDefinitions ) : IEnumerable
allDefinitions IEnumerable
리턴 IEnumerable

GetStatus() 공개 추상적인 메소드

public abstract GetStatus ( ) : DatabaseStatus
리턴 DatabaseStatus

InsertExportFile() 공개 메소드

public InsertExportFile ( Stream stream, string filename ) : ContentItem
stream Stream
filename string
리턴 ContentItem

InsertRootNode() 공개 메소드

public InsertRootNode ( Type type, string name, string title ) : ContentItem
type Type
name string
title string
리턴 ContentItem

InsertStartPage() 공개 메소드

public InsertStartPage ( Type type, ContentItem root, string name, string title ) : ContentItem
type Type
root ContentItem
name string
title string
리턴 ContentItem

Install() 공개 추상적인 메소드

public abstract Install ( ) : void
리턴 void

InstallationManager() 공개 메소드

public InstallationManager ( ConnectionMonitor connectionContext, Importer importer, IWebContext webContext, IPersister persister, ContentActivator activator ) : System
connectionContext ConnectionMonitor
importer Importer
webContext IWebContext
persister IPersister
activator ContentActivator
리턴 System

Is() 공개 정적인 메소드

Checks installer hint bit flags.
public static Is ( InstallerHint flags, InstallerHint expected ) : bool
flags InstallerHint The defined flags.
expected InstallerHint The expected flags.
리턴 bool

UpdateStatus() 공개 메소드

public UpdateStatus ( SystemStatusLevel currentLevel ) : void
currentLevel SystemStatusLevel
리턴 void

Upgrade() 공개 추상적인 메소드

public abstract Upgrade ( ) : void
리턴 void