C# 클래스 CiviKeyPostInstallScript.Program

파일 보기 프로젝트 열기: Invenietis/ck-certified

공개 메소드들

메소드 설명
CurrentDomain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
OnError ( string message ) : void
Upgrade26xTov270 ( XPathNavigator xPathNav ) : void

비공개 메소드들

메소드 설명
AddEntryToSystemConf ( string key, string value, string pluginId, string pluginName, XPathNavigator xPathNav ) : void
AppendChildUpdateElement ( XPathNodeIterator iterator, string value, string key ) : void
CreateEntryToSystemConf ( string key, string value, string pluginId, string pluginName, XPathNavigator xPathNav, string &xPathExp, XPathNodeIterator &iterator ) : void
DoUpdateEntryToSystemConf ( string key, string value, bool entrySet, XPathNodeIterator iterator ) : bool
GetFilePath ( Environment specialFolder, string &savePath ) : string
InsertUpdateElementAfter ( XPathNodeIterator iterator, string value, string key ) : void
Main ( string args ) : void

UpgradeUser35To40 ( XPathNavigator xPathSystemNav ) : string

Upgrades the user configuration (from .NET 3.5 to .NET 4.0 and its breaking change - we now need a ContextProfileCollection in the UserConf) If the userConf, is in a 4.0 version, this method won't do anything It returns the contextpath found via the userconf, in case the context has been moved or renamed. Return String.Empty if a contextpath can't be found.

메소드 상세

CurrentDomain_UnhandledException() 공개 정적인 메소드

public static CurrentDomain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
sender object
e System.UnhandledExceptionEventArgs
리턴 void

OnError() 공개 정적인 메소드

public static OnError ( string message ) : void
message string
리턴 void

Upgrade26xTov270() 공개 정적인 메소드

public static Upgrade26xTov270 ( XPathNavigator xPathNav ) : void
xPathNav System.Xml.XPath.XPathNavigator
리턴 void