public void StaticResourceUserControls() { StaticResourceUserControls1 s1 = new StaticResourceUserControls1(); Assert.IsNull(s1.Resources["localNameForUserControl4"], "1"); Assert.IsNotNull(s1.Resources["foo"], "2"); StaticResourceUserControls2 s2 = new StaticResourceUserControls2(); Assert.IsNotNull(s2.Resources["localNameForUserControl4"], "3"); }
public void StaticResourceUserControls () { StaticResourceUserControls1 s1 = new StaticResourceUserControls1(); Assert.IsNull (s1.Resources["localNameForUserControl4"], "1"); Assert.IsNotNull (s1.Resources["foo"], "2"); StaticResourceUserControls2 s2 = new StaticResourceUserControls2(); Assert.IsNotNull (s2.Resources["localNameForUserControl4"], "3"); }