Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <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;
 }