Free cookie consent management tool by TermsFeed Policy Generator

Changeset 782


Ignore:
Timestamp:
11/19/08 17:00:18 (15 years ago)
Author:
kgrading
Message:

fixed naming convention error (#335)

Location:
trunk/sources
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Common/Logging.cs

    r739 r782  
    4040    /// </summary>
    4141    /// <returns>the instance of the logger</returns>
    42     public static Logging getInstance() {
     42    public static Logging GetInstance() {
    4343      if (instance == null)
    4444        instance = new Logging();
  • trunk/sources/HeuristicLab.Hive.Client.Common/Properties/AssemblyInfo.frame

    r716 r782  
    2424using System.Runtime.InteropServices;
    2525using HeuristicLab.PluginInfrastructure;
     26using System.Security;
    2627
    2728// General Information about an assembly is controlled through the following
     
    3637[assembly: AssemblyTrademark("")]
    3738[assembly: AssemblyCulture("")]
     39[assembly: AllowPartiallyTrustedCallers]
    3840
    3941// Setting ComVisible to false makes the types in this assembly not visible
  • trunk/sources/HeuristicLab.Hive.Client.Common/TestJob.cs

    r779 r782  
    3333        for (int y = 0; y < Int32.MaxValue; y++) ;
    3434        if (abort == true) {
    35           Logging.getInstance().Info(this.ToString(), "Job Processing aborted");
     35          Logging.GetInstance().Info(this.ToString(), "Job Processing aborted");
    3636          Debug.WriteLine("Job Abort Processing");
    3737          break;
    3838        }
    39         Logging.getInstance().Info(this.ToString(), "Iteration " + x + " done");
     39        Logging.GetInstance().Info(this.ToString(), "Iteration " + x + " done");
    4040        Debug.WriteLine("Iteration " + x + " done");
    4141      }     
  • trunk/sources/HeuristicLab.Hive.Client.Core/Core.cs

    r779 r782  
    6161      Heartbeat beat = new Heartbeat();
    6262      beat.Interval = 5000;
    63       beat.StartHeartbeat();
     63      beat.StartHeartbeat(); 
    6464
    6565      MessageQueue queue = MessageQueue.GetInstance();
     
    6868        MessageContainer container = queue.GetMessage();
    6969        Debug.WriteLine("Main loop received this message: " + container.Message.ToString());
    70         Logging.getInstance().Info(this.ToString(), container.Message.ToString());
     70        Logging.GetInstance().Info(this.ToString(), container.Message.ToString());
    7171        DetermineAction(container);
    7272      }
     
    7777      if (sandboxed) {
    7878        pset = new PermissionSet(PermissionState.None);
    79         pset.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution));
     79        pset.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution));       
    8080      } else {
    8181        pset = new PermissionSet(PermissionState.Unrestricted);
     
    108108       
    109109        case MessageContainer.MessageType.FetchJob:
     110          bool sandboxed = true;
     111
    110112          IJob job = CreateNewJob();
    111113         
    112           AppDomain appDomain = CreateNewAppDomain(false);
     114          AppDomain appDomain = CreateNewAppDomain(true);
    113115          appDomains.Add(job.JobId, appDomain);
    114116         
  • trunk/sources/HeuristicLab.Hive.Client.ExecutionEngine/Properties/AssemblyInfo.frame

    r749 r782  
    2424using System.Runtime.InteropServices;
    2525using HeuristicLab.PluginInfrastructure;
     26using System.Security;
    2627
    2728// General Information about an assembly is controlled through the following
     
    3637[assembly: AssemblyTrademark("")]
    3738[assembly: AssemblyCulture("")]
     39[assembly: AllowPartiallyTrustedCallers]
    3840
    3941// Setting ComVisible to false makes the types in this assembly not visible
Note: See TracChangeset for help on using the changeset viewer.