/
githubmirror
/
PowerShell
Обзор
Документация
Войти
/
githubmirror
/
PowerShell
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/Microsoft.Management.UI.Internal/ManagementList/Common/AutomationTextBlock.cs
43 строки
1 KB
Steve Lee
Update copyright notice to latest guidance (#12190)
24 мар 2020, 21:08
Не верифицирован
24 мар 2020, 21:08
b7cb335
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Windows.Automation.Peers; using System.Windows.Controls; namespace Microsoft.Management.UI.Internal { /// <summary> /// Provides a <see cref="TextBlock"/> control that is always visible in the automation tree. /// </summary> [SuppressMessage("Microsoft.MSInternal", "CA903:InternalNamespaceShouldNotContainPublicTypes")] [Description("Provides a System.Windows.Controls.TextBlock control that is always visible in the automation tree.")] public class AutomationTextBlock : TextBlock { #region Structors /// <summary> /// Initializes a new instance of the <see cref="AutomationTextBlock" /> class. /// </summary> public AutomationTextBlock() { // This constructor intentionally left blank } #endregion #region Overides /// <summary> /// Returns the <see cref="System.Windows.Automation.Peers.AutomationPeer"/> implementations for this control. /// </summary> /// <returns>The <see cref="System.Windows.Automation.Peers.AutomationPeer"/> implementations for this control.</returns> protected override AutomationPeer OnCreateAutomationPeer() { return new AutomationTextBlockAutomationPeer(this); } #endregion } }