Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hutchinson <mhutchinson@novell.com>2007-09-20 00:47:22 +0400
committerMichael Hutchinson <mhutchinson@novell.com>2007-09-20 00:47:22 +0400
commit97b553d0c7121a29cc9008af266de1ff8c275b65 (patch)
tree634a0d834fcbf0cec38618b63a70a4c9beec7748 /Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs
parent1845942ad3680bfc63e0d89cf7575d2943fc9490 (diff)
* AspNetEdit.Integration/AspNetEditViewContent.cs: Track API changes.
svn path=/trunk/monodevelop/; revision=86040
Diffstat (limited to 'Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs')
-rw-r--r--Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs b/Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs
index 86c1bce132..de9612e67f 100644
--- a/Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs
+++ b/Extras/AspNetEdit/AspNetEdit.Integration/AspNetEditViewContent.cs
@@ -150,8 +150,12 @@ namespace AspNetEdit.Integration
MonoDevelop.Projects.Parser.IClass codeBehind = null;
if (viewContent.Project != null) {
MonoDevelop.Projects.ProjectFile pf = viewContent.Project.GetProjectFile (viewContent.ContentName);
- if (pf != null)
- codeBehind = DesignerSupport.Service.CodeBehindService.GetCodeBehind (pf);
+ if (pf != null) {
+ MonoDevelop.DesignerSupport.CodeBehind.CodeBehindClass cc =
+ DesignerSupport.Service.CodeBehindService.GetChildClass (pf);
+ if (cc != null)
+ codeBehind = cc.IClass;
+ }
}
proxy = new MonoDevelopProxy (codeBehind);