/// <summary> /// Get a new IElement from injected <see cref="IElementActionHandler"/> and /// <see cref="IElementDescendantHandler"/> instances. /// </summary> /// <param name="actionHandler">Instance of <see cref="IElementActionHandler"/></param> /// <param name="descendantHandler">Instance of <see cref="IElementDescendantHandler"/></param> /// <returns></returns> internal static IElement GetIElementFromHandlers(IElementActionHandler actionHandler, IElementDescendantHandler descendantHandler) { return new IceElement(actionHandler, descendantHandler); }
/// <summary> /// Initializes a new instance of the <see cref="IceElement"/> class. /// </summary> /// <param name="actionHandler"></param> internal IceElement(IElementActionHandler actionHandler, IElementDescendantHandler descendantHandler) { this.actionHandler = actionHandler; this.descendantHandler = descendantHandler; }