Пример #1
0
 private xrc.IContext GetOriginalContext(xrc.IContext context)
 {
     if (context.CallerContext == null)
         return context;
     else
         return GetOriginalContext(context.CallerContext);
 }
Пример #2
0
 public void Execute(xrc.IContext context)
 {
     context.Response.Write("<h3>TestView View</h3>");
     context.Response.Write(string.Format("<p>Hello from TestView view! {0}</p>", Param1));
 }
Пример #3
0
 public SourceCodeModule(xrc.IContext context)
 {
     _context = context;
 }
Пример #4
0
 public ContactController(IContactModule contactModule,
                         xrc.IXrcService xrc)
 {
     _contactModule = contactModule;
     _xrc = xrc;
 }