/// <summary>
 /// Internal constructor for a target <see cref="ExpressionAnimation"/>
 /// </summary>
 /// <param name="animation">The <see cref="ExpressionAnimation"/> that will be played</param>
 /// <param name="propertySet">The <see cref="CompositionPropertySet"/> with the custom parameter</param>
 /// <param name="parameterName">The name of the custom parameter that will be updated when requested</param>
 internal ScalarExpressionAnimation(ExpressionAnimation animation, CompositionPropertySet propertySet, string parameterName)
 {
     Animation     = animation;
     PropertySet   = propertySet;
     ParameterName = parameterName;
 }
Beispiel #2
0
 /// <summary>
 /// Internal constructor for a target <see cref="ExpressionAnimation"/>
 /// </summary>
 /// <param name="animation">The <see cref="ExpressionAnimation"/> that will be played</param>
 /// <param name="propertySet">The <see cref="CompositionPropertySet"/> with the custom parameter</param>
 /// <param name="parameterName">The name of the custom parameter that will be updated when requested</param>
 internal ScalarExpressionAnimation([NotNull] ExpressionAnimation animation, [NotNull] CompositionPropertySet propertySet, [NotNull] string parameterName)
 {
     Animation     = animation;
     PropertySet   = propertySet;
     ParameterName = parameterName;
 }