public DataBindingTargetResolver(FieldCollection fields, SymbolCollection symbols) : this(fields) { this.items = symbols; this.createNewItemForUnresoved = true; this.newItemsType = typeof(Symbol); this.BindingType = BindingType.Symbols; }
public virtual object Clone() { ConstructorInfo[] constructors = base.GetType().GetConstructors(BindingFlags.Instance | BindingFlags.NonPublic); NamedCollection namedCollection = (NamedCollection)constructors[0].Invoke(new object[2] { this.parent, this.common }); namedCollection.parent = this.parent; namedCollection.common = this.common; namedCollection.elementType = this.elementType; foreach (ICloneable item in this) { NamedElement namedElement = (NamedElement)item.Clone(); namedCollection.InnerList.Add(namedElement); namedElement.collection = namedCollection; } return(namedCollection); }
public DataBindingTargetResolver(FieldCollection fields, PathCollection paths) : this(fields) { this.items = paths; this.BindingType = BindingType.Paths; }
public DataBindingTargetResolver(FieldCollection fields, GroupCollection groups) : this(fields) { this.items = groups; this.BindingType = BindingType.Groups; }
public DataBindingTargetResolver(FieldCollection fields, ShapeCollection shapes) : this(fields) { this.items = shapes; this.BindingType = BindingType.Shapes; }