/// <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); }
public InteractionGenerator(InteractionTemplate _interactibleTemplate) { interactibleTemplate = _interactibleTemplate; }
public static Interaction Generate(InteractionTemplate template) { return(new InteractionGenerator(template).Generate()); }
public static Interaction Generate(InteractionTemplate template) { return new InteractionGenerator(template).Generate(); }