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