Наследование: IEffect, IAnimation
        public EffectPropertyBuildersTests()
        {
            slide = new SlideAnimation();
            slideBuilder = new AnimationBuilder(slide);

            property = new PropertyAnimation();
            propertyBuilder = new AnimationBuilder(property);
        }
Пример #2
0
        public EffectsBuilder Slide(Action<AnimationBuilder> setEffectProperties)
        {
            var effect = new SlideAnimation();

            setEffectProperties(new AnimationBuilder(effect));

            container.Container.Add(effect);

            return this;
        }
Пример #3
0
        public EffectsBuilder Slide(Action <AnimationBuilder> setEffectProperties)
        {
            var effect = new SlideAnimation();

            setEffectProperties(new AnimationBuilder(effect));

            container.Container.Add(effect);

            return(this);
        }
        {
        }
    }
}
Пример #5
0
 public SlideAnimationBuilder(SlideAnimation animation)
     : this(animation)
 {
 }
 public SlideAnimationSerializationTests()
 {
     slide = new SlideAnimation();
 }