Activator.CreateInstance can't find the constructor (MissingMethodException)

后端 未结 9 2236
一个人的身影
一个人的身影 2021-02-18 15:55

I have a class which has the following constructor

public DelayCompositeDesigner(DelayComposite CompositeObject)
{
    InitializeComponent();

    compositeObjec         


        
9条回答
  •  清酒与你
    2021-02-18 16:27

    I had a similar issue, however my problem was due to the visibility of the constructor. This stack overflow helped me:

    Instantiating a constructor with parameters in an internal class with reflection

提交回复
热议问题