Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Services.cs « DebuggerAddIn « Extras - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 13b15ebb04dd0d42a3236d318f93a64a9b5743f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using MonoDevelop.Core;
using MonoDevelop.Core.Gui;
using MonoDevelop.Core.Execution;
using MonoDevelop.Projects.Gui;
using MonoDevelop.Projects.Ambience;

namespace MonoDevelop.Debugger
{
	public class Services
	{
		static IDebuggingService debuggingService;
		static IconService icons;
		
		public static IconService Icons {
			get {
				if (icons == null)
					icons = (IconService) ServiceManager.GetService (typeof(IconService));
				return icons;
			}
		}
	
		public static IDebuggingService DebuggingService {
			get {
				if (debuggingService == null)
					debuggingService = (IDebuggingService) ServiceManager.GetService (typeof(IDebuggingService));
				return debuggingService;
			}
		}
	
		internal static ResourceService Resources {
			get { return MonoDevelop.Core.Gui.Services.Resources; }
		}

		public static AmbienceService Ambience {
			get { return MonoDevelop.Projects.Services.Ambience; }
		}
	}
}