-
Notifications
You must be signed in to change notification settings - Fork 933
Lazy properties static proxy #1709
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
using System; | ||
using System.Collections; | ||
using NHibernate.Proxy.DynamicProxy; | ||
|
||
namespace NHibernate.Test.DynamicEntity | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The dynamic entity tests are using NHibernate dynamic proxies as a general purpose proxy provider. But that is not the purpose of NHibernate to provide such a thing. Those tests will have to be rewritten with an independent proxy provider if they are to be kept after dropping dynamic proxies. |
||
{ | ||
[Obsolete("Require dynamic proxies")] | ||
public sealed class DataProxyHandler : Proxy.DynamicProxy.IInterceptor | ||
{ | ||
private readonly Hashtable data = new Hashtable(); | ||
|
@@ -56,4 +58,4 @@ public object Intercept(InvocationInfo info) | |
|
||
#endregion | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
using System; | ||
|
||
namespace NHibernate.Test.DynamicEntity | ||
{ | ||
[Obsolete("Require dynamic proxies")] | ||
public interface IProxyMarker | ||
{ | ||
DataProxyHandler DataHandler { get;} | ||
} | ||
} | ||
} |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was generating async tests for asynchronously calling the PEVerify. There is no point in testing that. Included in this commit because I have added tests using
PeVerifier
.