Ejemplo n.º 1
0
        /// <summary>
        /// Sets the <see cref="InteractionTemplate"/> associated with a specified object.
        /// </summary>
        /// <param name="dependencyObject">The <see cref="DependencyObject"/> on which to set the <see cref="InteractionTemplate"/>.</param>
        /// <param name="value">The <see cref="InteractionTemplate"/> associated with the object.</param>
        /// <exception cref="ArgumentNullException">Parameter <paramref name="dependencyObject"/> is null</exception>
        public static void SetTemplate(DependencyObject dependencyObject, InteractionTemplate value)
        {
            if (dependencyObject == null)
            {
                throw new ArgumentNullException(nameof(dependencyObject));
            }

            dependencyObject.SetValue(TemplateProperty, value);
        }
Ejemplo n.º 2
0
 public InteractionGenerator(InteractionTemplate _interactibleTemplate)
 {
     interactibleTemplate = _interactibleTemplate;
 }
Ejemplo n.º 3
0
 public static Interaction Generate(InteractionTemplate template)
 {
     return(new InteractionGenerator(template).Generate());
 }
Ejemplo n.º 4
0
 public static Interaction Generate(InteractionTemplate template)
 {
     return new InteractionGenerator(template).Generate();
 }
Ejemplo n.º 5
0
 public InteractionGenerator(InteractionTemplate _interactibleTemplate)
 {
     interactibleTemplate = _interactibleTemplate;
 }