示例#1
0
 public BehaviorRecord(Behavior behavior)
 {
     Type = behavior.Type;
     UserId = behavior.UserId;
     ItemId = behavior.ItemId;
     Weight = behavior.Weight;
     UtcTimestamp = behavior.UtcTimestamp;
 }
示例#2
0
 public static void Receive(string instance, Behavior behavior)
 {
     Receive(instance, new[] { behavior });
 }