Пример #1
0
        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);
        }
Пример #2
0
        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);
        }
Пример #3
0
        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);
        }