public DObjectCon this[DObject.TObjectType aType] { get { return(ContainerByType(aType)); } }
private void MakeEmptyContainers() { iContainers.Clear(); // for (int i = 0; i < (int)DObject.TObjectType.ENumObjectTypes; i++) { DObject.TObjectType type = (DObject.TObjectType)i; DObjectCon container = new DObjectCon(this, type); iContainers.Add(container); } }
public DObjectCon ContainerByType(DObject.TObjectType aType) { DObjectCon ret = null; // foreach (DObjectCon container in iContainers) { if (container.Type == aType) { ret = container; break; } } // if (ret == null) { throw new ArgumentException("Bad container type: " + aType); } // return(ret); }
public DObjectCon(CrashDebuggerInfo aCrashDebugger, DObject.TObjectType aType) : base(aCrashDebugger) { iType = aType; }