dynamically generated class library by the software itself:

Namespace1

This Namespace includes the software runtime classes and Class1 which is a script added by me.

My class library:
Namespace2 with class2 with method

public void Method1(Namespace1.Class1 instance){
...
}

I want to use instances of a class in the dynamically generated library in my class library.