private string AddToNameTable(object nameTable, string propertyName)
 {
     if (nameTableAddInvoker == null)
     {
         nameTableAddInvoker = nameTable.GetType().GetMethod("Add").DelegateForCallMethod();
     }
     return((string)nameTableAddInvoker(nameTable, new object[] { propertyName }));
 }
Пример #2
0
 internal static Fasterflect.MethodInvoker GetConverter(int modelId)
 {
     Fasterflect.MethodInvoker converter = null;
     converters.TryGetValue(modelId, out converter);
     return(converter);
 }