public override void SerializeToContext(AvsContext context) { id = context.Id; Payload.SerializeToContext(context); var video = Payload.Id; var script = string.Format(Format, Id, video); context.AddData(script); }
public override void SerializeToContext(AvsContext context) { id = context.Id; First.SerializeToContext(context); Second.SerializeToContext(context); var script = string.Format(Format, Id, First.Id, Second.Id); context.AddData(script); }
public override void SerializeToContext(AvsContext context) { id = context.Id; FadeFrom.SerializeToContext(context); FadeTo.SerializeToContext(context); var from = FadeFrom.Id; var to = FadeTo.Id; var script = string.Format(Format, Id, to, from, Duration); context.AddData(script); }