| File: System\Windows\Markup\MarkupExtensionBracketCharactersAttribute.cs | Web Access |
| Project: src\wpf\src\Microsoft.DotNet.Wpf\src\System.Xaml\System.Xaml.csproj (System.Xaml) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Windows.Markup { /// <summary> /// Attribute to declare that this associated property will have special parsing rules /// for any text that is enclosed between these special characters. /// </summary> [AttributeUsage(AttributeTargets.Property, AllowMultiple = true, Inherited = false)] public sealed class MarkupExtensionBracketCharactersAttribute : Attribute { /// <summary> /// Constructor for an MarkupExtensionBracketCharactersAttribute /// </summary> /// <param name="openingBracket">Opening character for the Bracket characters. For example, '(' , '[' </param> /// /// <param name="closingBracket">Closing character for the Bracket characters. For example, ')' , ']' </param> public MarkupExtensionBracketCharactersAttribute(char openingBracket, char closingBracket) { OpeningBracket = openingBracket; ClosingBracket = closingBracket; } public char OpeningBracket { get; } public char ClosingBracket { get; } } }