public void Add(FrameworkElement item) { var key = item.GetType().FullName; InternalCollection.Add(key, item); InternalIndex.Add(key); }
public override void RefreshCollections() { InternalCollection.Clear(); foreach (DataRowView item in InternalDataView) { InternalCollection.Add(new FamilyComponentType(item, SQLiteConnection, ActiveUser)); } }
public override void RefreshCollections() { if (InternalCollection != null) { InternalCollection.Clear(); foreach (DataRowView item in InternalDataView) { this.AddElement(new ReferencePlane(item, SQLiteConnection, ActiveUser), true); } } }
public override void RefreshCollections() { if (InternalCollection != null) { InternalCollection.Clear(); foreach (DataRowView item in InternalDataView) { this.AddElement(new FamilyTemplate(item, SQLiteConnection, ActiveUser, ADSKApplciation), true); } } }
public override void RefreshCollections(string sortColumn, string filter) { if (InternalCollection != null) { InternalCollection.Clear(); foreach (DataRowView item in InternalDataView) { this.AddElement(new FamilyComponent(item, SQLiteConnection, ActiveUser, ADSKApplciation), true); } } }
/// <summary> /// Returns the index immediately after the <see cref="ToolStripItem"/> that /// was provided to the constructor. /// </summary> /// <param name="uiElement"></param> /// <returns></returns> protected override int GetInsertingIndex(object uiElement) { int index = InternalCollection.IndexOf(item); if (index < 0) { throw new InvalidOperationException(); } return(index + 1); }
public override void RefreshCollections() { if (InternalCollection != null) { InternalCollection.Clear(); foreach (DataRowView item in InternalDataSet.Tables[TableNames.FF_FamilyComponents].DefaultView) { this.AddElement(new FamilyComponent(item, SQLiteConnection, ActiveUser, ADSKApplciation), true); } } }
// Token: 0x060014F7 RID: 5367 RVA: 0x00025360 File Offset: 0x00024360 private static InternalCollection Find(uint collectionKey) { InternalCollection internalCollection = InstanceCatalog.Get().Find(collectionKey); if (null == internalCollection) { internalCollection = new InternalCollection(1558879558u, collectionKey); internalCollection.Load(); return(internalCollection); } return(internalCollection); }
public override void RefreshCollections(string sortColumn, string filter) { if (InternalCollection != null) { InternalDataView.Sort = sortColumn; InternalDataView.RowFilter = filter; InternalCollection.Clear(); foreach (DataRowView item in InternalDataView) { this.AddElement(new ReferencePlane(item, SQLiteConnection, ActiveUser), true); } } }
public IEnumerator <T> GetEnumerator() { if (!IsAttached) { return(InternalCollection.GetEnumerator()); } if (!IsLoaded) { Load(); } return(InternalCollection.GetEnumerator()); }
public Collection Collection(InternalCollection internalCollection) { if (internalCollection != null) { return new Collection { BackdropPath = internalCollection.BackdropPath, Id = internalCollection.Id, Name = internalCollection.Name, PosterPath = internalCollection.PosterPath } } ; return(null); }
// Token: 0x060016BE RID: 5822 RVA: 0x00027CD8 File Offset: 0x00026CD8 public static WorkflowRunner Construct(string workflow, InternalCollection collection) { WorkflowElement workflowElement = Activator.CreateInstance <WorkflowElement>(workflow); if (workflowElement != null) { ICollectionOwner collectionOwner = workflowElement as ICollectionOwner; if (collectionOwner != null) { collectionOwner.Bind(collection); } return(new WorkflowRunner(workflowElement)); } return(null); }
public void Add(T item) { if (IsAttached) { var trackingInfo = Context.ObjectTracker.GetObjectTrackingInfo(item); if (trackingInfo == null) { Rel.TargetDbSet.Add(item); } ItemsAdded.Add(item); } else { InternalCollection.Add(item); } }
public void Clear() => InternalCollection.Clear();
public bool Remove(string itemName) => InternalCollection.Remove(itemName);
public bool Contains(string itemName) => itemName.IsNotNull() && InternalCollection.ContainsKey(itemName);
public void CopyTo(IMenuInfo[] array, int arrayIndex) => InternalCollection.CopyTo(array, arrayIndex);
protected override void ClearItems() { InternalCollection.Clear(); }
// Token: 0x060010CE RID: 4302 RVA: 0x000174C6 File Offset: 0x000164C6 public powerup_gamegroup(InternalCollection instance) { this.instance = instance; }
public IEnumerator <IMenuInfo> GetEnumerator() => InternalCollection.GetEnumerator();
// Token: 0x060014F6 RID: 5366 RVA: 0x00025356 File Offset: 0x00024356 public Collection(InternalCollection internalCollection) : base(internalCollection) { }
public bool Remove(TaskbarThumbButtonInfo item) { return(InternalCollection.Remove(TaskbarThumbButtonInfoWrapper.Wrap(item))); }
protected override void RemoveItem(int index) { InternalCollection.RemoveAt(index); }
protected override void InsertItem(int index, TItem item) { InternalCollection.Insert(index, item); }
public bool Remove(FrameworkElement item) => InternalCollection.Remove(item.GetType().FullName);
public void Add(IMenuInfo item) => InternalCollection.Add(item);
// Token: 0x060010CC RID: 4300 RVA: 0x00017487 File Offset: 0x00016487 public powerup_gamegroup(string collectionName) : this(InternalCollection.Hash(collectionName)) { }
public bool Contains(IMenuInfo item) => InternalCollection.Contains(item);
public bool Remove(IMenuInfo item) => InternalCollection.Remove(item);
// Token: 0x060014D4 RID: 5332 RVA: 0x00024EA9 File Offset: 0x00023EA9 public void Bind(InternalCollection collection) { this.collection = collection; }