/// <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; }
/// <summary> /// Comment /// /// </summary> /// <param name="AAppDomainRemotedObjectURL">.NET Remoting URL of a Test object (for /// testing purposes only)</param> /// <param name="AClientAppDomainConnection">Object that allows a connection to the /// Client's AppDomain without causing a load of the Assemblies that are /// loaded in the Client's AppDomain into the Default AppDomain. /// </param> /// <returns>void</returns> public void PassInClientRemotingInfo(String AAppDomainRemotedObjectURL, IClientAppDomainConnection AClientAppDomainConnection) { FAppDomainRemotedObjectURL = AAppDomainRemotedObjectURL; FClientAppDomainConnection = AClientAppDomainConnection; }