/// <summary> /// Creates an instance of <see cref="ActionMessage"/>. /// </summary> public ActionMessage() { Parameters = new AttachedCollection <Parameter>(); Parameters.CollectionChanged += (s, e) => { e.NewItems.OfType <Parameter>().Apply(x => x.MakeAwareOf(this)); }; }
/// <summary> /// Creates an instance of <see cref="ActionMessage"/>. /// </summary> public ActionMessage() { Parameters = new AttachedCollection <Parameter>(); }