コード例 #1
0
ファイル: BehaviorRecord.cs プロジェクト: Kooboo/Ecommerce
 public BehaviorRecord(Behavior behavior)
 {
     Type = behavior.Type;
     UserId = behavior.UserId;
     ItemId = behavior.ItemId;
     Weight = behavior.Weight;
     UtcTimestamp = behavior.UtcTimestamp;
 }
コード例 #2
0
ファイル: BehaviorReceivers.cs プロジェクト: Kooboo/Ecommerce
 public static void Receive(string instance, Behavior behavior)
 {
     Receive(instance, new[] { behavior });
 }