📄 criteriacollection.cs
字号:
using System;
using System.Collections;
using System.Collections.Specialized;
namespace Platform.Data {
public class CriteriaCollection : CollectionBase {
public CriteriaCollection() {
}
public Criteria this[ int index] {
get { return (Criteria)this.List[ index ]; }
set { this.List[ index ] = value; }
}
public int Add(Criteria value ){
return this.List.Add( value );
}
public void Add(CriteriaType type, string name, object value){
this.Add( new Criteria( type, name, value ) );
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -