Class IndexEntry
- Namespace
- Songhay.Publications.Models
- Assembly
- Songhay.Publications.dll
Implements IIndexEntry.
public class IndexEntry : IIndexEntry, ISegment, ITemporal
- Inheritance
-
IndexEntry
- Implements
-
ITemporal
- Inherited Members
- Extension Methods
Remarks
The opinion here is that this class demonstrates the advantages of Typescript over a “classic” OOP language.
The ability to cast an anonymous object into an interface would eliminate the need for this class.
For more detail, see https://github.com/dotnet/roslyn/issues/13#issuecomment-70338359
Constructors
IndexEntry()
Initializes a new instance of the PublicationContext class.
public IndexEntry()
IndexEntry(Segment?)
Initializes a new instance of the PublicationContext class.
public IndexEntry(Segment? data)
Parameters
Properties
ClientId
Gets or sets the client identifier.
public string? ClientId { get; set; }
Property Value
Documents
Gets or sets the documents.
public IDocument[] Documents { get; set; }
Property Value
EndDate
End/expiration DateTime of the item.
public DateTime? EndDate { get; set; }
Property Value
InceptDate
Origin DateTime of the item.
public DateTime? InceptDate { get; set; }
Property Value
IsActive
Gets or sets the is active.
public bool? IsActive { get; set; }
Property Value
- bool?
ModificationDate
Modification/editorial DateTime of the item.
public DateTime? ModificationDate { get; set; }
Property Value
ParentSegmentId
Gets or sets the parent segment identifier.
public int? ParentSegmentId { get; set; }
Property Value
- int?
SegmentId
Gets or sets the segment identifier.
public int? SegmentId { get; set; }
Property Value
- int?
SegmentName
Gets or sets the name of the segment.
public string? SegmentName { get; set; }
Property Value
Segments
Gets or sets child segments.
public IIndexEntry[] Segments { get; set; }
Property Value
SortOrdinal
Gets or sets the sort ordinal.
public byte? SortOrdinal { get; set; }
Property Value
- byte?