When the SSRS system automatically creates an instance of a class contained in a custom assembly, is there a way to pass in parameters to the constructor? Screenshot of my setup is below.
My goal is ultimately to pass parameters to the constructor so that
So in all of my testing I have not been able to pass parameters to the constructor of my custom assembly class. Instead I have taken a different approach and will let the SSRS system create an instance of the class which I will then reference in the Report Variables section of the report properties. In this section I will call an
Initialize method I wrote which accepts the parameters I wanted to pass into the constructor.
Once I do this I can then reference
Code.EMMASecurity.[Method] and use information which was previously stored as instance variables by the call to