MonoMobile.Views.BaseDialogViewSource.GetMemberData C# (CSharp) Method

GetMemberData() protected method

protected GetMemberData ( NSIndexPath indexPath ) : MemberData
indexPath NSIndexPath
return MemberData
		protected MemberData GetMemberData(NSIndexPath indexPath)
		{
			var newIndexPath = ResetIndexPathRow(indexPath);
			
			var sectionData = GetSectionData(indexPath.Section);

			if (sectionData != null && sectionData.Count > newIndexPath.Row)
			{
				return sectionData[newIndexPath.Row] as MemberData;
			}

			return null;
		}