예제 #1
0
 /// <summary>
 ///     Creates a new instance of DynamicViewBag, setting initial values in the ViewBag.
 /// </summary>
 /// <param name="viewBag">The initial view bag data or NULL for an empty ViewBag.</param>
 public ExecuteContext(DynamicViewBag viewBag)
 {
     if (viewBag == null)
         _viewBag = new DynamicViewBag();
     else
         _viewBag = viewBag;
 }
예제 #2
0
 /// <summary>
 ///     Creates a new instance of ExecuteContext with an empty ViewBag.
 /// </summary>
 public ExecuteContext()
 {
     _viewBag = new DynamicViewBag();
 }
예제 #3
0
 /// <summary>
 ///     Creates a new instance of ExecuteContext with an empty ViewBag.
 /// </summary>
 public ExecuteContext()
 {
     _viewBag = new DynamicViewBag();
 }