public static PropertyPlug[] Enumerate(IActor owner) { List <PropertyPlug> list = new List <PropertyPlug>(); foreach (IProperty p in owner.Properties) { PropertyPlug newPlug = Create(p); if (newPlug != null) { list.Add(newPlug); } } return(list.ToArray()); }
protected override void ReleaseManaged() { PropertyPlug plug = this.Source as PropertyPlug; plug.Property.CurrentValue = null; }