resdescriptionattribute.cs
来自「浏览器端看到树型目录结构,用户可以完整地看到像windows资源管理器一样的效果」· CS 代码 · 共 26 行
CS
26 行
//------------------------------------------------------------------------------
// Copyright (c) 2000-2003 Microsoft Corporation. All Rights Reserved.
//------------------------------------------------------------------------------
namespace Microsoft.Web.UI.WebControls
{
using System;
using System.ComponentModel;
/// <summary>
/// Implements the DescriptionAttribute except that the parameter is a resource name.
/// </summary>
[AttributeUsage(AttributeTargets.All, AllowMultiple=false, Inherited=true)]
internal class ResDescriptionAttribute : DescriptionAttribute
{
/// <summary>
/// Initializes a new instance of a ResDescriptionAttribute.
/// </summary>
/// <param name="resourceName">The name of the string resource.</param>
public ResDescriptionAttribute(string resourceName): base()
{
DescriptionValue = Util.GetStringResource(resourceName);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?