public void SimpleTest2() { var appSettingLayoutRenderer = new AspNetSessionValueLayoutRenderer() { Variable = "a.b" }; ExecTest("a.b", "c", "c", appSettingLayoutRenderer); }
public void SimpleTest() { var appSettingLayoutRenderer = new AspNetSessionValueLayoutRenderer() { Variable = "a" }; ExecTest("a", "b", "b", appSettingLayoutRenderer); }
public void NestedProps() { var appSettingLayoutRenderer = new AspNetSessionValueLayoutRenderer() { Variable = "a.b", EvaluateAsNestedProperties = true }; var o = new { b = "c" }; //set in "a" ExecTest("a", o, "c", appSettingLayoutRenderer); }
public void NestedProps2() { var appSettingLayoutRenderer = new AspNetSessionValueLayoutRenderer() { Variable = "a.b.c", EvaluateAsNestedProperties = true }; var o = new { b = "c" }; //set in "a" ExecTest("a", o, "", appSettingLayoutRenderer); }
public void NullVarname() { var appSettingLayoutRenderer = new AspNetSessionValueLayoutRenderer() { Variable = null, EvaluateAsNestedProperties = false }; var o = new { b = "c" }; //set in "a" ExecTest("a", o, "", appSettingLayoutRenderer); }