Class DocumentIndex
Индекс документа.
Inheritance
System.Object
DocumentIndex
Namespace:InfinniPlatform.DocumentStorage.Metadata
Assembly:InfinniPlatform.DocumentStorage.Abstractions.dll
Syntax
public sealed class DocumentIndex : IEquatable<DocumentIndex>
Properties
| Improve this Doc View SourceExpireAfter
Время существования документа.
Declaration
public TimeSpan? ExpireAfter { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<TimeSpan> |
Key
Ключ индекса документа.
Declaration
public IDictionary<string, DocumentIndexKeyType> Key { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<System.String, DocumentIndexKeyType> |
Name
Имя индекса.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Unique
Уникальный индекс.
Declaration
public bool Unique { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceEquals(DocumentIndex)
Declaration
public bool Equals(DocumentIndex other)
Parameters
Type | Name | Description |
---|---|---|
DocumentIndex | other |
Returns
Type | Description |
---|---|
System.Boolean |
GetDefaultName()
Возвращает имя индекса по умолчанию.
Declaration
public string GetDefaultName()
Returns
Type | Description |
---|---|
System.String |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |