Class ContentBase<TLocation, TIdentifier>
- Namespace
- MES.MQC.DataSourceLibrary.Models.Connectors
- Assembly
- MES.MQC.DataSourceLibrary.dll
public abstract class ContentBase<TLocation, TIdentifier> : IContent where TLocation : ContentLocationBase, new() where TIdentifier : IContentIdentifier, new()
Type Parameters
TLocation
TIdentifier
- Inheritance
-
ContentBase<TLocation, TIdentifier>
- Implements
-
- Derived
-
- Inherited Members
-
Properties
DateTime
public virtual DateTime DateTime { get; set; }
Property Value
- DateTime
DateTimeIsReportDate
public virtual bool DateTimeIsReportDate { get; set; }
Property Value
- bool
Identifier
public virtual TIdentifier Identifier { get; set; }
Property Value
- TIdentifier
Location
public virtual TLocation Location { get; set; }
Property Value
- TLocation
PublicUrl
public virtual string PublicUrl { get; set; }
Property Value
- string
Type
[YamlMember(Order = -2147483648, Alias = "$type")]
[JsonProperty(Required = Required.Always, Order = -2147483648, PropertyName = "$type")]
public string Type { get; set; }
Property Value
- string
Methods
Clear()
public virtual void Clear()
GetIdentifier()
public IContentIdentifier GetIdentifier()
Returns
- IContentIdentifier
GetLocation()
public ContentLocationBase GetLocation()
Returns
- ContentLocationBase
ToCacheKey()
public virtual string ToCacheKey()
Returns
- string
ToKey()
public virtual string ToKey()
Returns
- string
public string ToSerializedForExtracted()
Returns
- string