All checks were successful
CI/CD Pipeline / Build and Test (push) Successful in 1m3s
CI/CD Pipeline / Package Module (push) Has been skipped
CI/CD Pipeline / Create Release (push) Has been skipped
CI/CD Pipeline / Build and Test (pull_request) Successful in 1m7s
CI/CD Pipeline / Package Module (pull_request) Has been skipped
CI/CD Pipeline / Create Release (pull_request) Has been skipped
Introduce the IsExternalInit type for C# 9 records compatibility in .NET Standard 2.1. Implement BaseCmdlet class to provide common functionality for cmdlets, including methods for writing results and handling async operations. Add SessionStatus enum to represent API session states.
24 lines
659 B
C#
24 lines
659 B
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
|
|
// This file provides the IsExternalInit type required for using C# 9 records
|
|
// in projects targeting .NET Standard 2.1 or earlier.
|
|
|
|
#if !NET5_0_OR_GREATER
|
|
|
|
namespace System.Runtime.CompilerServices
|
|
{
|
|
using System.ComponentModel;
|
|
|
|
/// <summary>
|
|
/// Reserved to be used by the compiler for tracking metadata.
|
|
/// This class should not be used by developers in source code.
|
|
/// </summary>
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
internal static class IsExternalInit
|
|
{
|
|
}
|
|
}
|
|
|
|
#endif
|