@joebigelow / wix-1 / commits / a8b38811

Rename IExtensionManager.Create to IExtensionManager.GetServices

Rob Mensching committed May 12, 2019 at 15:54 UTC a8b388110d2914c1ebf610dd624f710e9874baf4
1 file changed +5 -6
src/WixToolset.Extensibility/Services/IExtensionManager.cs
+5 -6
@@ -1,4 +1,4 @@
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.
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
3 namespace WixToolset.Extensibility.Services
4 {
@@ -29,12 +29,11 @@ namespace WixToolset.Extensibility.Services
29 /// </remarks>
30 void Load(string extensionPath);
31
32 -
32 /// <summary>
34 - /// Creates extension of specified type from factories loaded into the extension manager.
33 + /// Gets extensions of specified type from factories loaded into the extension manager.
34 /// </summary>
36 - /// <typeparam name="T">Type of extension to create.</typeparam>
37 - /// <returns>Extensions created of the specified type.</returns>
38 - IEnumerable<T> Create<T>() where T : class;
35 + /// <typeparam name="T">Type of extension to get.</typeparam>
36 + /// <returns>Extensions of the specified type.</returns>
37 + IEnumerable<T> GetServices<T>() where T : class;
38 }
39 }