aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Extensibility/Services/IWixToolsetServiceProvider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Extensibility/Services/IWixToolsetServiceProvider.cs')
-rw-r--r--src/WixToolset.Extensibility/Services/IWixToolsetServiceProvider.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/WixToolset.Extensibility/Services/IWixToolsetServiceProvider.cs b/src/WixToolset.Extensibility/Services/IWixToolsetServiceProvider.cs
new file mode 100644
index 00000000..c9ef36e1
--- /dev/null
+++ b/src/WixToolset.Extensibility/Services/IWixToolsetServiceProvider.cs
@@ -0,0 +1,13 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Extensibility.Services
4{
5 using System;
6
7 public interface IWixToolsetServiceProvider : IServiceProvider
8 {
9 bool TryGetService(Type serviceType, out object service);
10 bool TryGetService<T>(out T service) where T : class;
11 T GetService<T>() where T : class;
12 }
13}