private static string GetKeyOrderArray(Infragistics.Shared.KeyedSubObjectsCollectionBase c, string separator) { StringBuilder sb = new StringBuilder(); Infragistics.Shared.IKeyedSubObject[] a = new Infragistics.Shared.IKeyedSubObject[c.Count]; c.CopyTo(a, 0); for (int i = 0; i < a.Length; i++) { Infragistics.Shared.IKeyedSubObject o = a[i]; if (o.Key == null || o.Key.Length == 0) { throw new InvalidOperationException("KeyedSubObjectsCollectionBase must have a unique Key."); } if (i > 0) { sb.Append(separator); } sb.Append(o.Key); } return(sb.ToString()); }
public void OnAddedToCollection(Infragistics.Shared.KeyedSubObjectsCollectionBase primaryCollection) { // TODO: agregar la implementación Nodekey.OnAddedToCollection }