コード例 #1
0
 /// reset the static variables for each Web Request call.
 public static void ResetStaticVariables()
 {
     UUserManager             = null;
     UErrorLog                = null;
     ULoginLog                = null;
     UMaintenanceLogonMessage = null;
 }
コード例 #2
0
 /// <summary>
 /// initialize variables that are initialized from classes specific to the server, eg. with access to OpenPetra database
 /// </summary>
 public static void InitializeStaticVariables(
     IUserManager AUserManager,
     IErrorLog AErrorLog,
     ILoginLog ALoginLog,
     IMaintenanceLogonMessage AMaintenanceLogonMessage)
 {
     UUserManager             = AUserManager;
     UErrorLog                = AErrorLog;
     ULoginLog                = ALoginLog;
     UMaintenanceLogonMessage = AMaintenanceLogonMessage;
 }
コード例 #3
0
ファイル: ClientManager.cs プロジェクト: js1987/openpetragit
 /// <summary>
 /// initialize variables that are initialized from classes specific to the server, eg. with access to OpenPetra database
 /// </summary>
 public static void InitializeStaticVariables(ISystemDefaultsCache ASystemDefaultsCache,
     ICacheableTablesManager ACacheableTablesManager,
     IUserManager AUserManager,
     IErrorLog AErrorLog,
     IMaintenanceLogonMessage AMaintenanceLogonMessage,
     IClientAppDomainConnection AClientDomainManager)
 {
     USystemDefaultsCache = ASystemDefaultsCache;
     UCacheableTablesManager = ACacheableTablesManager;
     UUserManager = AUserManager;
     UErrorLog = AErrorLog;
     UMaintenanceLogonMessage = AMaintenanceLogonMessage;
     UClientDomainManager = AClientDomainManager;
 }
コード例 #4
0
ファイル: ClientManager.cs プロジェクト: Davincier/openpetra
 /// <summary>
 /// initialize variables that are initialized from classes specific to the server, eg. with access to OpenPetra database
 /// </summary>
 public static void InitializeStaticVariables(ISystemDefaultsCache ASystemDefaultsCache,
     IUserManager AUserManager,
     IErrorLog AErrorLog,
     IMaintenanceLogonMessage AMaintenanceLogonMessage)
 {
     USystemDefaultsCache = ASystemDefaultsCache;
     UUserManager = AUserManager;
     UErrorLog = AErrorLog;
     UMaintenanceLogonMessage = AMaintenanceLogonMessage;
 }