首页 新闻 会员 周边

求助asp.net

0
[已解决问题] 解决于 2015-02-24 21:26

public virtual object DataSource
{
    [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
    get
    {
        return this.dataSource;
    }
    set
    {
        if (((value != null) && !(value is IListSource)) && !(value is IEnumerable))
        {
            throw new ArgumentException(SR.GetString("Invalid_DataSource_Type", new object[] { this.ID }));
        }
        this.dataSource = value;
        this.OnDataPropertyChanged();
    }
}
上面这段代码什么意思?谁能给我解释一下?

博学多思的主页 博学多思 | 初学一级 | 园豆:76
提问于:2015-01-22 19:58
< >
分享
最佳答案
0

好高级的代码,  我也看不懂,

我是进来顶楼主的名字的。

奖励园豆:5
问天何必 | 老鸟四级 |园豆:3311 | 2015-01-23 11:18
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册