1 Star 0 Fork 2

TK-7/oxyplot

forked from anysharp/oxyplot 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ExamplesAttribute.cs 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
Oystein Bjorke 提交于 2014-10-04 05:43 +08:00 . Add TagsAttribute to example library
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ExamplesAttribute.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace ExampleLibrary
{
using System;
/// <summary>
/// Specifies the category for a class containing examples.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class ExamplesAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="ExamplesAttribute"/> class.
/// </summary>
/// <param name="category">The category.</param>
public ExamplesAttribute(string category = null)
{
this.Category = category;
}
/// <summary>
/// Gets the category.
/// </summary>
/// <value>
/// The category.
/// </value>
public string Category { get; private set; }
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tk-7/oxyplot.git
git@gitee.com:tk-7/oxyplot.git
tk-7
oxyplot
oxyplot
master

搜索帮助