9 writes to BaseUri
PresentationFramework (5)
System\Windows\Markup\XamlReader.cs (4)
343
settings.
BaseUri
= parserContext.BaseUri;
884
settings.
BaseUri
= parserContext.BaseUri;
1048
readerSettings.
BaseUri
= parserContext.BaseUri;
1054
readerSettings.
BaseUri
= BaseUriHelper.PackAppBaseUri;
System\Windows\ResourceDictionary.cs (1)
1094
settings.
BaseUri
= null; // Base URI can only be set on the root object, not on deferred content.
System.Xaml (2)
System\Xaml\InfosetObjects\XamlReaderSettings.cs (1)
31
BaseUri
= settings.BaseUri;
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
186
_mergedSettings.
BaseUri
= new Uri(myXmlReader.BaseURI);
System.Xaml.Tests (2)
System\Xaml\XamlReaderSettingsTests.cs (1)
33
BaseUri
= new Uri("http://google.com"),
System\Xaml\XamlXmlReaderSettingsTests.cs (1)
37
BaseUri
= new Uri("http://google.com"),
18 references to BaseUri
PresentationFramework (8)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
1193
if (_settings.
BaseUri
!= null && !String.IsNullOrEmpty(_settings.
BaseUri
.ToString()))
1196
_xamlNodesWriter.WriteValue(_settings.
BaseUri
.ToString());
System\Windows\Markup\XamlReader.cs (5)
482
app.ApplicationMarkupBaseUri = GetBaseUri(settings.
BaseUri
);
1052
if (readerSettings.
BaseUri
== null || String.IsNullOrEmpty(readerSettings.
BaseUri
.ToString()))
1092
dObject.SetValue(BaseUriHelper.BaseUriProperty, readerSettings.
BaseUri
);
1098
app.ApplicationMarkupBaseUri = GetBaseUri(readerSettings.
BaseUri
);
System.Xaml (3)
System\Xaml\InfosetObjects\XamlReaderSettings.cs (1)
31
BaseUri = settings.
BaseUri
;
System\Xaml\Parser\NodeStreamSorter.cs (2)
241
if (_settings.
BaseUri
is not null)
243
EnqueueOneXmlDirectiveProperty(XamlLanguage.Base, _settings.
BaseUri
.ToString());
System.Xaml.Tests (7)
System\Xaml\XamlObjectReaderSettingsTests.cs (1)
17
Assert.Null(settings.
BaseUri
);
System\Xaml\XamlReaderSettingsTests.cs (3)
18
Assert.Null(settings.
BaseUri
);
55
Assert.Equal(settings?.
BaseUri
, newSettings.
BaseUri
);
System\Xaml\XamlXmlReaderSettingsTests.cs (3)
18
Assert.Null(settings.
BaseUri
);
63
Assert.Equal(settings?.
BaseUri
, newSettings.
BaseUri
);