Show / Hide Table of Contents

Class AbstractUpdateTrigger

Represents a generic update trigger.

Inheritance
object
AbstractBindable
AbstractUpdateTrigger
DeviceUpdateTrigger
ManualUpdateTrigger
TimerUpdateTrigger
Implements
IBindable
INotifyPropertyChanged
IUpdateTrigger
IDisposable
Inherited Members
AbstractBindable.PropertyChanged
AbstractBindable.RequiresUpdate<T>(ref T, T)
AbstractBindable.SetProperty<T>(ref T, T, string)
AbstractBindable.OnPropertyChanged(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public abstract class AbstractUpdateTrigger : AbstractBindable, IBindable, INotifyPropertyChanged, IUpdateTrigger, IDisposable

Properties

| Edit this page View Source

LastUpdateTime

Gets the time spent for the last update.

Declaration
public abstract double LastUpdateTime { get; protected set; }
Property Value
Type Description
double

Methods

| Edit this page View Source

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public abstract void Dispose()
| Edit this page View Source

OnStartup(CustomUpdateData?)

Invokes the Starting-event.

Declaration
protected virtual void OnStartup(CustomUpdateData? updateData = null)
Parameters
Type Name Description
CustomUpdateData updateData

Optional custom-data passed to the subscribers of the Starting.event.

| Edit this page View Source

OnUpdate(CustomUpdateData?)

Invokes the Update-event.

Declaration
protected virtual void OnUpdate(CustomUpdateData? updateData = null)
Parameters
Type Name Description
CustomUpdateData updateData

Optional custom-data passed to the subscribers of the Update.event.

| Edit this page View Source

Start()

Starts the update trigger.

Declaration
public abstract void Start()

Events

| Edit this page View Source

Starting

Occurs when the trigger is starting up.

Declaration
public event EventHandler<CustomUpdateData>? Starting
Event Type
Type Description
EventHandler<CustomUpdateData>
| Edit this page View Source

Update

Occurs when the trigger wants to cause an update.

Declaration
public event EventHandler<CustomUpdateData>? Update
Event Type
Type Description
EventHandler<CustomUpdateData>

Implements

IBindable
INotifyPropertyChanged
IUpdateTrigger
IDisposable
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX