when code tries to get the namespace name via reflection, using either:
typeof(MyNamespace.MyClass).Namespace;
or other methods, I want that the Namespace name returned my pre-defined string.
This doesn't work:
typeof(MyNamespace.MyClass).Namespace = "helloWorld";
any ways?
Aucun commentaire:
Enregistrer un commentaire