Ejemplo n.º 1
0
 public object Clone()
 {
     var ret = new CacheThreadMessage(Key, MessageType, Tags);
     ret.Content = Content;
     ret.Id = Id;
     ret.TimeStamp = TimeStamp;
     ret.DataCallback = DataCallback;
     ret.DataCallbackParameters = ret.DataCallbackParameters;
     ret.SourceThread = SourceThread;
     return ret;
 }
Ejemplo n.º 2
0
 public CacheLoadItemTask(AsyncCallback callback, CacheThreadMessage tag, object state, BaseAsyncHandler ash)
     : base(callback, tag, state, ash)
 {
     Message = tag;
     CacheExpirationMs = tag.CacheExpirationMs;
 }