public IdHashTimeToMethod NewHashDateBindingForNow(DataStructures.ByteArray methodIdHash, Method methodModel) { var result = new IdHashTimeToMethod { Method = methodModel, MethodIdHash = methodIdHash.Bytes, Time = DateTime.Now }; return(result); }
public void AddOrUpdateMethod(Method methodModel, DataStructures.ByteArray methodId) { underlying.AddOrUpdateMethod(methodModel, methodId); }
public bool TryGetMethodModelForHash(DataStructures.ByteArray hash, out Method result) { return(underlying.TryGetMethodModelForHash(hash, out result)); }
public DataStructures.ByteArray GetHashForDate(DataStructures.ByteArray methodId, DateTime datetime, bool afterDateTime) { return(underlying.GetHashForDate(methodId, datetime, afterDateTime)); }