예제 #1
0
 public WonkaRefSourceCadre GetSourceField(WonkaRefSource poSource, WonkaRefCadre poField)
 {
     if ((poSource != null) && (poField != null))
     {
         Dictionary <int, int> FieldsToSourceFields = IdXref.SourceFields[poSource.SourceId];
         return(SourceCadreCache[FieldsToSourceFields[poField.CadreId]]);
     }
     else
     {
         return(null);
     }
 }
예제 #2
0
 public bool IsSourceField(WonkaRefSource poSource, WonkaRefCadre poField)
 {
     return(GetSourceField(poSource, poField) != null);
 }