📄 itable.cs
字号:
namespace Perst
{
using System;
#if USE_GENERICS
using System.Collections.Generic;
#endif
using System.Collections;
/// <summary> Interface of selectable collection.
/// Selectable collections allows to selct its memebers using JSQL query
/// </summary>
#if USE_GENERICS
public interface ITable<T> : ICollection<T>,IEnumerable
{
new IEnumerator<T> GetEnumerator();
/// <summary> Select members of the collection using search predicate
/// </summary>
/// <param name="predicate">JSQL condition
/// </param>
/// <returns> iterator through members of the collection matching search condition
/// </returns>
IEnumerable<T> Select(string predicate);
#else
public interface ITable : ICollection
{
/// <summary> Select members of the collection using search predicate
/// </summary>
/// <param name="cls">class of index members
/// </param>
/// <param name="predicate">JSQL condition
/// </param>
/// <returns> iterator through members of the collection matching search condition
/// </returns>
IEnumerable Select(Type cls, string predicate);
#endif
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -