Files
OxyPlot/Source/Examples/WPF/WpfExamples/ExampleAttribute.cs
2023-09-02 09:24:59 +02:00

28 lines
848 B
C#

// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ExampleAttribute.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace WpfExamples
{
using System;
public class ExampleAttribute : Attribute
{
public ExampleAttribute(string description)
: this(null, description)
{
}
public ExampleAttribute(string title, string description)
{
this.Title = title;
this.Description = description;
}
public string Title { get; private set; }
public string Description { get; private set; }
}
}