Show / Hide Table of Contents

Interface IDocumentCursor<TDocument>

Указатель на список документов.

Namespace:InfinniPlatform.DocumentStorage
Assembly:InfinniPlatform.DocumentStorage.Abstractions.dll
Syntax
public interface IDocumentCursor<TDocument>
Type Parameters
Name Description
TDocument

Methods

| Improve this Doc View Source

Any()

Проверят, содержит ли указатель какой-либо элемент.

Declaration
bool Any()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

AnyAsync()

Проверят, содержит ли указатель какой-либо элемент.

Declaration
Task<bool> AnyAsync()
Returns
Type Description
Task<System.Boolean>
| Improve this Doc View Source

First()

Возвращает первый документ в указателе или исключение, если указатель пуст.

Declaration
TDocument First()
Returns
Type Description
TDocument
| Improve this Doc View Source

FirstAsync()

Возвращает первый документ в указателе или исключение, если указатель пуст.

Declaration
Task<TDocument> FirstAsync()
Returns
Type Description
Task<TDocument>
| Improve this Doc View Source

FirstOrDefault()

Возвращает первый документ в указателе или значение по умолчанию.

Declaration
TDocument FirstOrDefault()
Returns
Type Description
TDocument
| Improve this Doc View Source

FirstOrDefaultAsync()

Возвращает первый документ в указателе или значение по умолчанию.

Declaration
Task<TDocument> FirstOrDefaultAsync()
Returns
Type Description
Task<TDocument>
| Improve this Doc View Source

ToList()

Возвращает список всех документов указателя.

Declaration
List<TDocument> ToList()
Returns
Type Description
List<TDocument>
| Improve this Doc View Source

ToListAsync()

Возвращает список всех документов указателя.

Declaration
Task<List<TDocument>> ToListAsync()
Returns
Type Description
Task<List<TDocument>>

Extension Methods

DynamicCollectionExtensions.GetItem(Object, Int32)
DynamicCollectionExtensions.SetItem(Object, Int32, Object)
DynamicCollectionExtensions.AddItem(Object, Object)
DynamicCollectionExtensions.InsertItem(Object, Int32, Object)
DynamicCollectionExtensions.RemoveItem(Object, Object)
DynamicCollectionExtensions.RemoveItemAt(Object, Int32)
DynamicCollectionExtensions.MoveItem(Object, Object, Int32)
DynamicObjectExtensions.TryGetPropertyValue(Object, String)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TryGetPropertyValueByPath(Object, String)
DynamicObjectExtensions.TrySetPropertyValueByPath(Object, String, Object)
ReflectionExtensions.IsInstanceOfType(Object, Type)
ReflectionExtensions.GetMemberValue(Object, String)
ReflectionExtensions.SetMemberValue(Object, String, Object)
ReflectionExtensions.InvokeMember(Object, String, Object[], out Object, Type[])
ReflectionExtensions.GetFieldValue(Object, FieldInfo)
ReflectionExtensions.SetFieldValue(Object, FieldInfo, Object)
ReflectionExtensions.GetPropertyValue(Object, PropertyInfo)
ReflectionExtensions.SetPropertyValue(Object, PropertyInfo, Object)
ReflectionExtensions.GetMethodDelegate(Object, MethodInfo)
ReflectionExtensions.GetEventDelegate(Object, EventInfo)
ReflectionExtensions.SetEventDelegate(Object, EventInfo, Object)
CommonExtensions.ExecuteSilent<T>(T, Action<T>)
  • Improve this Doc
  • View Source
Back to top © Copyright Infinnity Solutions Ltd, 2010–2017.