public ClassInstanceVariablesPool(XClass owner) { if (owner == null) throw new ArgumentNullException(); this.Owner = owner; }
public ClassInstanceVariablesPool(XClass owner, IEnumerable<Installer.SourceReference<string>> items) : this(owner) { if (items == null) throw new ArgumentNullException(); foreach (var item in items) { XBinding binding = this.CreateBinding(item.Value); binding.MakeVariable(); binding.Value = null; // Bind it } }