private void _Set(StoreRow item, IKVLogger logger) { if (item.Expiry != null) { _provider.Set(item.Key, item.Value, item.Expiry.Value); } else { _provider.Set(item.Key, item.Value); } logger.LogStoreCall("ExportableStore.Set ", item.Key, item.Value, null, item.Expiry); }
public StoreRow AddStoreRow(int SGID, int SWID, double STopLine, double SbaseLine, double SQuantity) { StoreRow rowStoreRow = ((StoreRow)(this.NewRow())); rowStoreRow.ItemArray = new object[] { SGID, SWID, STopLine, SbaseLine, SQuantity }; this.Rows.Add(rowStoreRow); return(rowStoreRow); }
public MemoryStorageRow(StoreRow row) { Value = row.Value; Expiry = row.Expiry; }
public static void LogSet(this IKVLogger logger, StoreRow item) { }
public StoreRowChangeEvent(StoreRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveStoreRow(StoreRow row) { this.Rows.Remove(row); }
public void AddStoreRow(StoreRow row) { this.Rows.Add(row); }