Browse Source

Add setter for the refactoring context's service container.

newNRvisualizers
Daniel Grunwald 13 years ago
parent
commit
0cdb73aad6
  1. 5
      ICSharpCode.NRefactory.CSharp/Refactoring/BaseRefactoringContext.cs

5
ICSharpCode.NRefactory.CSharp/Refactoring/BaseRefactoringContext.cs

@ -185,13 +185,14 @@ namespace ICSharpCode.NRefactory.CSharp.Refactoring @@ -185,13 +185,14 @@ namespace ICSharpCode.NRefactory.CSharp.Refactoring
}
#region IServiceProvider implementation
readonly ServiceContainer services = new ServiceContainer();
IServiceContainer services = new ServiceContainer();
/// <summary>
/// Gets a service container used to associate services with this context.
/// </summary>
public ServiceContainer Services {
public IServiceContainer Services {
get { return services; }
protected set { services = value; }
}
/// <summary>

Loading…
Cancel
Save