Esempio n. 1
0
        private static List <string> GetFields(Type targetType)
        {
            var fieldList = new List <string>();

            SyncDelegate.AllDelegateFieldsRecursive(
                targetType,
                path => { if (!path.Contains(CachedLambda))
                          {
                              fieldList.Add(path);
                          }
                          return(false); },
                allowDelegates: true
                );

            return(fieldList);
        }