Show / Hide Table of Contents

Interface IDocumentStorageFactory

Фабрика для получения экземпляров IDocumentStorage и IDocumentStorage<TDocument>.

Namespace:InfinniPlatform.DocumentStorage
Assembly:InfinniPlatform.DocumentStorage.Abstractions.dll
Syntax
public interface IDocumentStorageFactory

Methods

| Improve this Doc View Source

GetStorage(String)

Возвращает экземпляр IDocumentStorage.

Declaration
IDocumentStorage GetStorage(string documentTypeName)
Parameters
Type Name Description
System.String documentTypeName

Имя типа документа.

Returns
Type Description
IDocumentStorage
| Improve this Doc View Source

GetStorage(Type, String)

Возвращает экземпляр IDocumentStorage<TDocument>.

Declaration
object GetStorage(Type documentType, string documentTypeName = null)
Parameters
Type Name Description
Type documentType

Тип документа.

System.String documentTypeName

Имя типа документа.

Returns
Type Description
System.Object
| Improve this Doc View Source

GetStorage<TDocument>(String)

Возвращает экземпляр IDocumentStorage<TDocument>.

Declaration
IDocumentStorage<TDocument> GetStorage<TDocument>(string documentTypeName = null)where TDocument : Document
Parameters
Type Name Description
System.String documentTypeName

Имя типа документа.

Returns
Type Description
IDocumentStorage<TDocument>
Type Parameters
Name Description
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.