Ejemplo n.º 1
0
 public StateEventProperties(Dictionary <string, object> values)
     : this()
 {
     this.Properties = new ComponentChildItemCollection <StateEventProperties, StateEventProperty>(this);
     foreach (var kvp in values)
     {
         this.Properties.Add(new StateEventProperty
         {
             Parent       = this,
             PropertyName = kvp.Key,
             Value        = kvp.Value
         });
     }
 }
Ejemplo n.º 2
0
 public StateEventProperties()
 {
     this.Properties        = new ComponentChildItemCollection <StateEventProperties, StateEventProperty>(this);
     this.Properties.Parent = this;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StateManager"/> class.
 /// </summary>
 /// <param name="parent">The parent.</param>
 public StateManager(IContainer parent)
     : base(parent)
 {
     this.States = new ComponentChildItemCollection <StateManager, StateItem>(this);
 }