1
0
mirror of synced 2025-12-19 09:50:46 -05:00
Files
core/release-notes/1.0/1.0.0-api/1.0.0-api_System.Reflection.Context.md
Rich Lander 8c8e5836c3 Fix linter errors in repo (#9689)
* Fix linter errors

* Update links
2025-01-13 21:40:52 -08:00

1.1 KiB

System.Reflection.Context

+namespace System.Reflection.Context {
+    public abstract class CustomReflectionContext : ReflectionContext {
+        protected CustomReflectionContext();
+        protected CustomReflectionContext(ReflectionContext source);
+        protected virtual IEnumerable<PropertyInfo> AddProperties(Type type);
+        protected PropertyInfo CreateProperty(Type propertyType, string name, Func<object, object> getter, Action<object, object> setter);
+        protected PropertyInfo CreateProperty(Type propertyType, string name, Func<object, object> getter, Action<object, object> setter, IEnumerable<Attribute> propertyCustomAttributes, IEnumerable<Attribute> getterCustomAttributes, IEnumerable<Attribute> setterCustomAttributes);
+        protected virtual IEnumerable<object> GetCustomAttributes(MemberInfo member, IEnumerable<object> declaredAttributes);
+        protected virtual IEnumerable<object> GetCustomAttributes(ParameterInfo parameter, IEnumerable<object> declaredAttributes);
+        public override Assembly MapAssembly(Assembly assembly);
+        public override TypeInfo MapType(TypeInfo type);
+    }
+}