1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- #pragma warning disable
- namespace Svg
- {
- /// <summary>
- /// Specifies the SVG name of an <see cref="SvgElement"/>.
- /// </summary>
- [AttributeUsage(AttributeTargets.Class)]
- public sealed class SvgElementAttribute : Attribute
- {
- /// <summary>
- /// Gets the name of the SVG element.
- /// </summary>
- public string ElementName { get; private set; }
- /// <summary>
- /// Initializes a new instance of the <see cref="SvgElementAttribute"/> class with the specified element name;
- /// </summary>
- /// <param name="elementName">The name of the SVG element.</param>
- public SvgElementAttribute(string elementName)
- {
- this.ElementName = elementName;
- }
- }
- }
- #pragma warning restore
|