Esempio n. 1
0
 public int IndexOf(MemberDevelopmentInformation aInfo)
 {
     if (aInfo == null)
     {
         return(-1);
     }
     return(members.IndexOf(aInfo.GetMemberInfo()));
 }
Esempio n. 2
0
 public MemberDevelopmentInformation GetInfo(int aIndex)
 {
     if ((aIndex < 0) || (aIndex >= Count))
     {
         return(null);
     }
     if (memberInfos == null)
     {
         memberInfos = new MemberDevelopmentInformation[Count];
         for (int i = 0; i < Count; i++)
         {
             memberInfos[i] = null;
         }
     }
     if (memberInfos[aIndex] == null)
     {
         memberInfos[aIndex] = new MemberDevelopmentInformation(members[aIndex]);
     }
     return(memberInfos[aIndex]);
 }
		public MemberDevelopmentInformation GetInfo (int aIndex)
		{
			if ((aIndex < 0) || (aIndex >= Count))
				return (null);
			if (memberInfos == null) {
				memberInfos = new MemberDevelopmentInformation[Count];
				for (int i=0; i<Count; i++)
					memberInfos[i] = null;
			}
			if (memberInfos[aIndex] == null)
				memberInfos[aIndex] = new MemberDevelopmentInformation (members[aIndex]);
			return (memberInfos[aIndex]);
		}
		public int IndexOf (MemberDevelopmentInformation aInfo)
		{
			if (aInfo == null)
				return (-1);
			return (members.IndexOf (aInfo.GetMemberInfo()));
		}