C # dynamically creates the implementation instance object of the interface
This article briefly introduces how to dynamically create the implementation instance object of the interface, including two knowledge points:
1. How to obtain all implementation instance objects of the interface?
2. How to judge whether the constructor of an instance object has parameters?
preparation
First, create an interface object named IA ...
Posted by lingo5 on Wed, 24 Nov 2021 08:05:42 -0800
java reflection thought
preface
There is a very important content in Java, the idea of java reflection. Learning java reflection well is very important for our subsequent development and understanding other people's code. Therefore, it is most important to lay a good foundation for reflection.
catalogue
1, What is the reflection mechan ...
Posted by arya6000 on Tue, 09 Nov 2021 20:02:05 -0800
[learning notes] understand the design pattern in combination with the code - agent pattern (static agent, dynamic agent, extension)
Preface: notes based on Crazy God design mode video I. Dahua design pattern (I've been updating my previous topic brushing blog recently. I've been updating a new blog for a long time today ~)
What is the proxy model
1, Introduction to agent model
Agent mode is a very common design mode. At the same time, there are many types. It ...
Posted by bdlang on Sat, 25 Sep 2021 00:51:22 -0700
Reflection and properties in C #
Reflection and characteristics in C # (II)
Previous section Reflection and characteristics in C # (I) , after a brief understanding of what reflection is and some of its features, let's continue to learn about other features in C#.
1.Assembly class
The Assembly class is defined in the System.Reflection namespace. It allows access to the meta ...
Posted by EcLip$e on Mon, 13 Sep 2021 22:30:17 -0700