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