// Copyright Keysight Technologies 2012-2019 // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, you can obtain one at http://mozilla.org/MPL/2.0/. using System; namespace OpenTap { /// Defines a help link for an object. /// General behavior is to search up the visual tree, until the first HelpLink is found. /// public class HelpLinkAttribute : Attribute, IAnnotation { /// /// The HelpLink specified in this attribute. /// public string HelpLink { get; private set; } /// /// Sets the help link for this object. /// /// public HelpLinkAttribute(string helpLink) { HelpLink = helpLink; } /// /// Creates a HelpLink without a specified link. /// This can be used if information about this item exists in the help for a parent scope. /// public HelpLinkAttribute() :this(null) { } } }