コード例 #1
0
 public WebInitialiserHttpModule()
 {
     coreInstance = new Core();
     RememberCore();
     coreInstance.Initialise();
     ForgetCore();
 }
コード例 #2
0
ファイル: Core.cs プロジェクト: priaonehaha/sprocketcms
 /// <summary>
 /// Resets the Core instance to null, forcing it to reinitialise on the next access.
 /// </summary>
 public static void Reset()
 {
     lock (syncInstance)
     {
         instance = null;
     }
 }