localizedpropertyattribute.cs
来自「全功能c#编译器」· CS 代码 · 共 48 行
CS
48 行
using System;
using System.Globalization;
using System.Resources;
using System.Reflection;
namespace ICSharpCode.SharpDevelop.Gui.Components
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class LocalizedPropertyAttribute : Attribute
{
string name = String.Empty;
string description = String.Empty;
string category = String.Empty;
public string Name {
get {
return name;
}
set {
name = value;
}
}
public string Description {
get {
return description;
}
set {
description = value;
}
}
public string Category {
get {
return category;
}
set {
category = value;
}
}
public LocalizedPropertyAttribute(string name)
{
this.name = name;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?