よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public static RawEvent ToRawEvent(this ITrigger trigger, Guid?parent_id = null) { return (new RawEvent(Guid.NewGuid() , trigger.ToBytes() , new { parent_id }.ToBytes() //Every event has a pointer to its parent event , trigger.GetType().Name)); }