/// <summary> /// Uses an XML node for this description. /// </summary> /// <param name="reader">The XML reader to use the node from.</param> /// <param name="lastNodeName">The last node name.</param> /// <returns>True if the node was processed false otherwise.</returns> protected override bool UseNode(XmlTextReader reader, string lastNodeName) { if (ArgumentsDescription.IsStartNodeFor(reader)) { maArguments.AddItemsFrom(reader); return(true); } return(false); }
/// <summary> /// Initialises the action description. /// </summary> protected override void Initialise() { base.Initialise(); maArguments = new ArgumentsDescription(this); }