Beispiel #1
0
        public static void DeleteCache(Type type)
        {
            DeleteCache(type, Type.EmptyTypes);

            var props = TypeHelper.GetProperties(type, false);
            foreach (var info in props)
                DeleteCache(info);

            var methods = type.GetMethods();
            foreach (var info in methods)
                DeleteCache(info);
        }
Beispiel #2
0
 public TypeSerializationInfo(Type type, IEnumerable <string> properties) : this(type, TypeHelper.GetProperties(type, properties))
 {
 }