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