Exemplo n.º 1
0
        private RubyView GetView(string virtualPath, RubyView masterView)
        {
            if (String.IsNullOrEmpty(virtualPath))
                return null;

            return new RubyView(_rubyEngine, GetContents(virtualPath), masterView);
        }
Exemplo n.º 2
0
        private RubyView GetView(string virtualPath, RubyView masterView)
        {
            if (String.IsNullOrEmpty(virtualPath))
            {
                return(null);
            }

            return(new RubyView(_rubyEngine, GetContents(virtualPath), masterView));
        }
Exemplo n.º 3
0
 public RubyView(IRubyEngine rubyEngine, string viewContents, RubyView master)
 {
     _rubyEngine = rubyEngine;
     _master     = master;
     _contents   = viewContents;
 }
Exemplo n.º 4
0
 public RubyView(IRubyEngine rubyEngine, string viewContents, RubyView master)
 {
     _rubyEngine = rubyEngine;
     _master = master;
     _contents = viewContents;
 }