AppDomainSetup.cs 563 B

12345678910111213141516
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. namespace System
  5. {
  6. #if PROJECTN
  7. [Internal.Runtime.CompilerServices.RelocatedType("System.Runtime.Extensions")]
  8. #endif
  9. public sealed class AppDomainSetup
  10. {
  11. internal AppDomainSetup() { }
  12. public string? ApplicationBase => AppContext.BaseDirectory;
  13. public string? TargetFrameworkName => AppContext.TargetFrameworkName;
  14. }
  15. }