Table of Contents

Interface IDependency

Namespace
Cuemon.Runtime
Assembly
Cuemon.Core.dll

Specifies that this object supports a method to control dependency related operations.

public interface IDependency

Properties

HasChanged

Gets a value indicating whether the IDependency object has changed.

bool HasChanged { get; }

Property Value

Boolean

true if the IDependency object has changed; otherwise, false.

UtcLastModified

Gets the time when the dependency was last changed.

DateTime? UtcLastModified { get; }

Property Value

Nullable<DateTime>

The time when the dependency was last changed.

Remarks

This property is measured in Coordinated Universal Time (UTC) (also known as Greenwich Mean Time).

Methods

Start()

Starts and performs the necessary dependency tasks of this instance.

void Start()

StartAsync()

Starts and performs the necessary dependency tasks of this instance.

Task StartAsync()

Returns

Task

The task object representing the asynchronous operation.

Events

DependencyChanged

Occurs when a IDependency object has changed.

event EventHandler<DependencyEventArgs> DependencyChanged

Event Type

EventHandler<DependencyEventArgs>