Fixed outdated comment

This commit is contained in:
Markus Ewald 2025-06-24 11:41:39 +02:00
parent 573b7ab93d
commit 7ab5e860c3
2 changed files with 3 additions and 4 deletions

View File

@ -45,4 +45,4 @@ using System.Runtime.InteropServices;
// Build Number // Build Number
// Revision // Revision
// //
[assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyVersion("1.2.1.0")]

View File

@ -103,9 +103,8 @@ namespace Nuclex.Windows.Forms.DependencyInjection {
return this.serviceProvider.GetRequiredService(type); return this.serviceProvider.GetRequiredService(type);
} }
/// <summary>Creates an instance of the specified type in a new scope</summary> /// <summary>Creates a new scope in which window-specific services will live</summary>
/// <param name="type">Type an instance will be created of</param> /// <returns>The new scope managing the lifetime of window-specific services</returns>
/// <returns>The created instance and the scope in which it lives</returns>
protected override IWindowScope CreateWindowScope() { protected override IWindowScope CreateWindowScope() {
return new WindowScope(this.serviceProvider); return new WindowScope(this.serviceProvider);
} }