public int IndexOf(TypeDevelopmentInformation aType) { if (aType == null) { return(-1); } return(types.IndexOf(aType.GetTypeInfo())); }
public TypeDevelopmentInformation GetInfo(int aIndex) { if ((aIndex < 0) || (aIndex >= Count)) { return(null); } if (typeInfos == null) { typeInfos = new TypeDevelopmentInformation[Count]; for (int i = 0; i < Count; i++) { typeInfos[i] = null; } } if (typeInfos[aIndex] == null) { typeInfos[aIndex] = new TypeDevelopmentInformation(types[aIndex]); } return(typeInfos[aIndex]); }
public TypeDevelopmentInformation GetInfo (int aIndex) { if ((aIndex < 0) || (aIndex >= Count)) return (null); if (typeInfos == null) { typeInfos = new TypeDevelopmentInformation[Count]; for (int i=0; i<Count; i++) typeInfos[i] = null; } if (typeInfos[aIndex] == null) typeInfos[aIndex] = new TypeDevelopmentInformation (types[aIndex]); return (typeInfos[aIndex]); }
public int IndexOf (TypeDevelopmentInformation aType) { if (aType == null) return (-1); return (types.IndexOf (aType.GetTypeInfo())); }