惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
博客园 - Franky
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
IT之家
IT之家
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
S
SegmentFault 最新的问题
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
有赞技术团队
有赞技术团队
B
Blog RSS Feed
Last Week in AI
Last Week in AI
Jina AI
Jina AI
博客园 - 司徒正美
The Cloudflare Blog
博客园_首页
博客园 - 聂微东
宝玉的分享
宝玉的分享
大猫的无限游戏
大猫的无限游戏

博客园 - Kent

55种网页常用小技巧 - Kent - 博客园 (转文)IP Domain etc. javascript setTimeout 和 setInterval CodeFile、Src、Codebehind三者的差别解释 - Kent - 博客园 Microsoft SQL Server 2005的国际功能(转贴) SQL Server 中易混淆的数据类型 关于 SQL Server 使用 Unicode 数据 Sys.WebForms.PageRequestManagerParserErrorException 错误的解决办法 SQLserver2005中的四个评价函数 常用DOS命令(转贴) 正则表达式(regular expression) C#: 为datatable添加column的方法 C#: 三种符号的区别 C#:List 取代数组的方法 javascript:parseFloat javascript:trim function javascript: split & array javascript:eval function Javascript: Replace function.
类的一般标准写法
Kent · 2006-09-23 · via 博客园 - Kent

namespace System.Option
{
    public enum SearchDataType
    {
        Unknown, String, Integer, Float, Datetime
    }

    public class AdvancedSearchCondition
    {
        private string _DisplayName = string.Empty;
        private string _FieldName = string.Empty;
        private SearchDataType _DataType = SearchDataType.Unknown;
        private string _Value = string.Empty;

        public string DisplayName
        {
            get { return this._DisplayName; }
            set { this._DisplayName = value; }
        }

        public string FieldName
        {
            get { return this._FieldName; }
            set { this._FieldName = value; }
        }

        public SearchDataType DataType
        {
            get { return this._DataType; }
            set { this._DataType = value; }
        }

        public string Value
        {
            get { return this._Value; }
            set { this._Value = value; }
        }

        public AdvancedSearchCondition(string displayName, string fieldName, SearchDataType dataType)
        {
            this.DisplayName = displayName;
            this.FieldName = fieldName;
            this.DataType = dataType;
        }
    }
}