public WonkaRefSourceField GetSourceField(WonkaRefSource poSource, WonkaRefField poField) { if ((poSource != null) && (poField != null)) { Dictionary <int, int> FieldsToSourceFields = IdXref.SourceFields[poSource.SourceId]; return(SourceFieldCache[FieldsToSourceFields[poField.FieldId]]); } else { return(null); } }
public bool IsSourceField(WonkaRefSource poSource, WonkaRefField poField) { return(GetSourceField(poSource, poField) != null); }