Exemplo n.º 1
0
 public ClassInstanceVariablesPool(XClass owner)
 {
     if (owner == null)
         throw new ArgumentNullException();
     this.Owner = owner;
 }
Exemplo n.º 2
0
 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
     }
 }