Browse Source

Allow applications that use the SharpDevelop core to detect if the property service has been initialized, when there are no addins in the system.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1701 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Scott Ferrett 19 years ago
parent
commit
d6575e249d
  1. 8
      src/Main/Core/Project/Src/Services/PropertyService/PropertyService.cs

8
src/Main/Core/Project/Src/Services/PropertyService/PropertyService.cs

@ -23,6 +23,14 @@ namespace ICSharpCode.Core @@ -23,6 +23,14 @@ namespace ICSharpCode.Core
static Properties properties;
public static bool Initialized
{
get
{
return properties != null;
}
}
public static void InitializeService(string configDirectory, string dataDirectory, string propertiesName)
{
if (properties != null)

Loading…
Cancel
Save