Avalonia is cross-platform, so no need to make the WindowManager Windows-only
This commit is contained in:
		
							parent
							
								
									fd0cc907a4
								
							
						
					
					
						commit
						061c6e9906
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		| 
						 | 
					@ -18,9 +18,6 @@ limitations under the License.
 | 
				
			||||||
#endregion // Apache License 2.0
 | 
					#endregion // Apache License 2.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
using System;
 | 
					using System;
 | 
				
			||||||
#if NET6_0_OR_GREATER
 | 
					 | 
				
			||||||
using System.Runtime.Versioning;
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
using Microsoft.Extensions.DependencyInjection;
 | 
					using Microsoft.Extensions.DependencyInjection;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,9 +28,6 @@ namespace Nuclex.Avalonia.DependencyInjection {
 | 
				
			||||||
  /// <summary>
 | 
					  /// <summary>
 | 
				
			||||||
  ///   Window manager that is using Microsoft's dependency injection interfaces
 | 
					  ///   Window manager that is using Microsoft's dependency injection interfaces
 | 
				
			||||||
  /// </summary>
 | 
					  /// </summary>
 | 
				
			||||||
#if NET6_0_OR_GREATER
 | 
					 | 
				
			||||||
  [SupportedOSPlatform("windows")]
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
  public class DependencyInjectedWindowManager : WindowManager {
 | 
					  public class DependencyInjectedWindowManager : WindowManager {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #region class WindowScope
 | 
					    #region class WindowScope
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue