Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates codebase to support Medium/Partial trust #149

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 26, 2012

  1. Updated codebase to support medium trust:

    - changes some 'object' references to 'Delegate' (easier to understand)
    - changes MultiPocoFactory class to perform the operation of calling the callback and calling each mapper delegate
    - changes CreateMultiPocoFactory, this is the problem with medium trust... you cannot declare a DynamicMethod with an 'owner' in medium trust. Also, there there is no need for any of the IL.Emit logic in this method and therefore no need for the DynamicMethod at all in this method. It has been changed so that the MultiPocoFactory class does the heavy lifting. Without a DynamicMethod or IL Emit, this should work a teeny bit faster and is much easier to debug. Before I realized that the IL Emit was not necessary, i did make it work in medium trust with IL Emit so have saved that code locally in case its required.
    Shazwazza committed Dec 26, 2012
    Configuration menu
    Copy the full SHA
    86ee2fb View commit details
    Browse the repository at this point in the history