Exemple #1
0
 public virtual void Nest(IInstanceDescriptor owner, PropertyInfo property)
 {
     owner.AddChild(this);
     Owner           = owner;
     _implementation = new DescriptorNestingByProperty(
         owner.Instance, property);
 }
Exemple #2
0
 public virtual void Nest(IInstanceDescriptor owner, FieldInfo field)
 {
     owner.AddChild(this);
     Owner           = owner;
     _implementation = new DescriptorNestingByField(
         owner.Instance, field);
 }
Exemple #3
0
 public virtual void Nest(IDescriptor owner, IndexSpec index)
 {
     owner.AddChild(this);
     Owner           = owner;
     _implementation = new DescriptorNestingByIndex(index);
 }
Exemple #4
0
 public virtual void Nest(IDescriptor owner, string name)
 {
     owner.AddChild(this);
     Owner           = owner;
     _implementation = new DescriptorNestingByName(name);
 }
Exemple #5
0
 public virtual void Nest(IPackageDescriptor owner, MethodInfo method)
 {
     owner.AddChild(this);
     Owner           = owner;
     _implementation = new DescriptorNestingByMethod(method);
 }
Exemple #6
0
 public virtual void Nest(IComponentDescriptor owner, MethodInfo method)
 {
     owner.AddChild(this);
     Owner           = owner;
     _implementation = new DescriptorNestingByMethod(owner.Instance, method);
 }