Stubble.Core.Context.Push C# (CSharp) Method

Push() public method

Returns a new Context with the given view and it's parent set as the current context
public Push ( object newView ) : Context
newView object The data view to create the new context with
return Context
        public Context Push(object newView)
        {
            return new Context(newView, Registry, this, RenderSettings);
        }