Coree.NETASP
  • API
Show / Hide Table of Contents
  • Coree.NETASP.Extensions
    • HttpResponseExtensions
  • Coree.NETASP.Extensions.KestrelOptions
    • AuthenticationBuilderExtensions
    • ConfigureWebHostBuilderExtensions
    • ConfigureWebHostBuilderExtensions.ListenType
    • xExtensions
  • Coree.NETASP.Extensions.WebApplicationBuilderExtensions
    • WebAppBuilderExtensions
    • WebApplicationBuilderExtension
  • Coree.NETASP.Middleware
    • FailurePointsMiddleware
    • FailurePointsMiddlewareExtensions
    • FailurePointsMiddlewareOptions
    • RequestThrottlingMiddleware
  • Coree.NETASP.Middleware.AcceptLanguageFiltering
    • AcceptLanguageFilteringExtensions
    • AcceptLanguageFilteringMiddleware
    • AcceptLanguageFilteringOptions
  • Coree.NETASP.Middleware.DnsHostNameFiltering
    • DnsHostNameFilteringMiddleware
    • DnsHostNameFilteringMiddlewareExtensions
    • DnsHostNameFilteringOptions
  • Coree.NETASP.Middleware.HostNameFiltering
    • HostNameFilterOptions
    • HostNameFilteringExtensions
    • HostNameFilteringMiddleware
  • Coree.NETASP.Middleware.NewFolder
    • PreMiddlewareHostedService
    • WaitForPreMiddlewareHostedServiceMiddleware
    • fooExtensions
  • Coree.NETASP.Middleware.PathDeep
    • PathDeepFilteringExtensions
    • PathDeepFilteringMiddleware
    • PathDeepFilteringOptions
  • Coree.NETASP.Middleware.ProtocolFiltering
    • ProtocolFilteringMiddleware
    • ProtocolFilteringMiddlewareExtensions
    • ProtocolFilteringOptions
  • Coree.NETASP.Middleware.RequestLogging
    • RequestLoggingMiddleware
  • Coree.NETASP.Middleware.RequestUrlFiltering
    • RequestUrlFilteringExtensions
    • RequestUrlFilteringMiddleware
    • RequestUrlFilteringOptions
  • Coree.NETASP.Middleware.ResponseRecording
    • ResponseRecordingMiddleware
  • Coree.NETASP.Middleware.SegmentBlacklistFiltering
    • SegmentBlacklistFilterOptions
    • SegmentBlacklistFilteringExtensions
    • SegmentBlacklistFilteringMiddleware
  • Coree.NETASP.Middleware.UnwantedHeaderKeysFiltering
    • UnwantedHeaderKeysMiddleware
    • UnwantedHeaderKeysMiddlewareExtensions
    • UnwantedHeaderKeysOptions
  • Coree.NETASP.Middleware.UserAgentFiltering
    • UserAgentFilterOptions
    • UserAgentFilteringExtensions
    • UserAgentFilteringMiddleware
  • Coree.NETASP.Services.CertificateManager
    • CertificateManager
    • CertificateManagerService
    • CommonDistinguishedNameBuilder
    • DistinguishedName
    • ICertificateManagerService
  • Coree.NETASP.Services.CookieAuth
    • AuthExtensions
    • CookieAuthHandler
    • ICookieAuthHandler
  • Coree.NETASP.Services.Instancer
    • IServerConfigurationAnalyzer
    • ServerConfigurationAnalyzer
    • ServerConfigurationAnalyzer.ServerListenDetail
  • Coree.NETASP.Services.Points
    • Entry
    • IPointService
    • PointEntry
    • PointService
    • PointServiceOptions
  • Coree.NETASP.UnderConstruction
    • CustomWebApplication
    • CustomWebApplication2
    • DummyFileProvider
    • EmptyWebHostBuilder
    • EmptyWebHostBuilder2
    • EmptyWebHostBuilder3
    • EmptyWebHostBuilderx
    • ExampleClass
    • FileServerMiddleware
    • FileServerMiddlewareExtensions
    • MyWebHostBuilder
    • ObjectDumper
    • ObjectDumper2
    • ObjectDumper3
    • OptionsDumper
    • OptionsKestrelServerOptionsExtensions
    • PhpCgiExecutor
    • Product
    • PropertyAccessTracker<T>
    • ServicesDumper
    • TrackableItem<T>
    • TrackableList<T>
    • TrackableState

Class TrackableItem<T>

Represents an item with versioning and state tracking capabilities.

Inheritance
object
TrackableItem<T>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Coree.NETASP.UnderConstruction
Assembly: Coree.NETASP.dll
Syntax
public class TrackableItem<T>
Type Parameters
Name Description
T

The type of the item.

Constructors

| Edit this page View Source

TrackableItem(T)

Initializes a new instance of the TrackableItem<T> class with the specified item.

Declaration
public TrackableItem(T item)
Parameters
Type Name Description
T item

The item to be versioned.

Properties

| Edit this page View Source

Item

Gets or sets the item.

Declaration
public T Item { get; set; }
Property Value
Type Description
T
| Edit this page View Source

LastModified

Gets the version timestamp of the item.

Declaration
public DateTime LastModified { get; }
Property Value
Type Description
DateTime
| Edit this page View Source

State

Gets the state of the item.

Declaration
public TrackableState State { get; }
Property Value
Type Description
TrackableState

Methods

| Edit this page View Source

UpdateDate(DateTime)

Sets the version date of the item.

Declaration
public void UpdateDate(DateTime dateTime)
Parameters
Type Name Description
DateTime dateTime

The version date to set.

| Edit this page View Source

UpdateState(TrackableState)

Sets the state of the item.

Declaration
public void UpdateState(TrackableState state)
Parameters
Type Name Description
TrackableState state

The new state of the item.

| Edit this page View Source

UpdateStateAndDate(TrackableState, DateTime)

Sets the state and version date of the item.

Declaration
public void UpdateStateAndDate(TrackableState state, DateTime dateTime)
Parameters
Type Name Description
TrackableState state

The new state of the item.

DateTime dateTime

The version date to set.

Operators

| Edit this page View Source

explicit operator T(TrackableItem<T>)

Defines an explicit conversion of a TrackableItem<T> to its underlying item of type T.

Declaration
public static explicit operator T(TrackableItem<T> trackableItem)
Parameters
Type Name Description
TrackableItem<T> trackableItem

The TrackableItem<T> to convert.

Returns
Type Description
T
| Edit this page View Source

implicit operator TrackableItem<T>(T)

Defines an implicit conversion of an item of type T to a TrackableItem<T>.

Declaration
public static implicit operator TrackableItem<T>(T item)
Parameters
Type Name Description
T item

The item to convert to a TrackableItem<T>.

Returns
Type Description
TrackableItem<T>
  • Edit this page
  • View Source
In this article
Back to top