//
//
//
//
// $Revision: 3411 $
//
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace ICSharpCode.Core.Services
{
///
/// Maintains references to the core service implementations.
///
public static class ServiceManager
{
static ILoggingService loggingService = new TextWriterLoggingService(new DebugTextWriter());
public static ILoggingService LoggingService {
get { return loggingService; }
set {
if (value == null)
throw new ArgumentNullException();
loggingService = value;
}
}
static IMessageService messageService = new TextWriterMessageService(Console.Out);
public static IMessageService MessageService {
get { return messageService; }
set {
if (value == null)
throw new ArgumentNullException();
messageService = value;
}
}
}
}