/// <summary> /// Initializes a new instance of the <see cref="UpdateEventArgs" /> class. /// </summary> /// <param name="eventType">The event that changed the data.</param> /// <param name="database">The database name.</param> /// <param name="table">The table name.</param> /// <param name="rowId">The rowid of the affected row.</param> public UpdateEventArgs(UpdateEventType eventType, string database, string table, long rowId) { Event = eventType; Database = database; Table = table; RowId = rowId; }
internal UpdateEventArgs(string database, string table, UpdateEventType eventType, Int64 rowid) { Database = database; Table = table; Event = eventType; RowId = rowid; }
internal UpdateEventArgs(string database, string table, UpdateEventType eventType, long rowid) { this.Database = database; this.Table = table; this.Event = eventType; this.RowId = rowid; }
internal UpdateEventArgs(string database, string table, UpdateEventType eventType, Int64 rowid) { Database = database; Table = table; Event = eventType; RowId = rowid; }
public void SendEvent(UpdateEventType type) { if (EventHandler != null) { EventHandler(this, new UpdateEvent(type)); } }
public void SendEvent(UpdateEventType type, string value) { EventHandler <UpdateEvent> temp = EventHandler; if (temp != null) { temp(this, new UpdateEvent(type, value)); } }
private static UpdateType GetUpdateType(UpdateEventType type) { switch (type) { case UpdateEventType.Delete: return(UpdateType.Delete); case UpdateEventType.Insert: return(UpdateType.Insert); case UpdateEventType.Update: return(UpdateType.Update); } return(UpdateType.None); }
public UpdateEvent(UpdateEventType type, bool value) { Type = type; BoolValue = value; }
public UpdateEvent(UpdateEventType type) { Type = type; }
public UpdateEvent(UpdateEventType type, CecAlert warning) { Type = type; AlertValue = warning; }
public void SendEvent(UpdateEventType type, string value) { EventHandler?.Invoke(this, new UpdateEvent(type, value)); }
public UpdateEventSubscription(NotifyEventCallback callback, UpdateEventType updateEventType) { this.callback = callback; this.updateEventType = updateEventType; }
public UpdateEvent(UpdateEventType type, string value) { Type = type; StringValue = value; }
public UpdateEvent(UpdateEventType type, int value) { Type = type; IntValue = value; }
public UpdateEvent(UpdateEventType type, bool value) { Type = type; BoolValue = value; }
public UpdateEvent(UpdateEventType type) { Type = type; }
public UpdateEvent(UpdateEventType type, int value) { Type = type; IntValue = value; }
public UpdateEvent(UpdateEventType type, string value) { Type = type; StringValue = value; }
public UpdateEvent(LibCECConfiguration config) { Type = UpdateEventType.Configuration; ConfigValue = config; }
public UpdateEventArgs(UpdateEventType type) { eventType = type; }
public void SendEvent(UpdateEventType type, string value) { if (EventHandler != null) EventHandler(this, new UpdateEvent(type, value)); }
public void SendEvent(UpdateEventType type, bool value) { EventHandler<UpdateEvent> temp = EventHandler; if (temp != null) temp(this, new UpdateEvent(type, value)); }
public static void SubscribeNotifyEvent(UpdateEventType updateEventType, NotifyEventCallback callback) { updateEventSubscriptions.Add(new UpdateEventSubscription(callback, updateEventType)); }
public UpdateEventArgs(UpdateEventType type, object data) { eventType = type; eventData = data; }
public RegisteredEventType Update(UpdateEventType updateRegistry) { throw new NotImplementedException(); }