示例#1
0
 /// <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));
     };
 }
示例#2
0
 /// <summary>
 /// Creates an instance of <see cref="ActionMessage"/>.
 /// </summary>
 public ActionMessage()
 {
     Parameters = new AttachedCollection <Parameter>();
 }