112 references to BaseUriHelper
PresentationCore (29)
MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
51
Uri siteOfOrigin =
BaseUriHelper
.FixFileUri(new Uri(System.AppDomain.CurrentDomain.BaseDirectory));
MS\Internal\FontCache\FontCacheUtil.cs (1)
584
isEnumerable =
BaseUriHelper
.IsPackApplicationUri(fileUri);
MS\Internal\FontCache\FontResourceCache.cs (2)
63
Debug.Assert(uri.IsAbsoluteUri && uri.Scheme == PackUriHelper.UriSchemePack &&
BaseUriHelper
.IsPackApplicationUri(uri));
68
BaseUriHelper
.GetAssemblyAndPartNameFromPackAppUri(uri, out uriAssembly, out escapedPath);
MS\Internal\Resources\ContentFileHelper.cs (2)
26
_contentFiles = GetContentFiles(
BaseUriHelper
.ResourceAssembly);
51
asm =
BaseUriHelper
.ResourceAssembly;
MS\Internal\WpfWebRequestHelper.cs (3)
86
Uri requestUri =
BaseUriHelper
.PackAppBaseUri.MakeRelativeUri(uri);
204
Uri requestUri =
BaseUriHelper
.PackAppBaseUri.MakeRelativeUri(request.RequestUri);
220
Uri requestUri =
BaseUriHelper
.PackAppBaseUri.MakeRelativeUri(request.RequestUri);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\BindUriHelper.cs (4)
79
return
BaseUriHelper
.BaseUri;
83
BaseUriHelper
.BaseUri =
BaseUriHelper
.FixFileUri(value);
143
newUri =
BaseUriHelper
.FixFileUri(orgUri);
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Media\TypeConverterHelper.cs (2)
94
uriHolder.BaseUri = new Uri(
BaseUriHelper
.BaseUri, uriHolder.BaseUri);
102
uriHolder.BaseUri =
BaseUriHelper
.BaseUri;
System\IO\Packaging\PackageStore.cs (2)
99
if (PackUriHelper.ComparePackUri(packUri,
BaseUriHelper
.PackAppBaseUri) == 0 ||
100
PackUriHelper.ComparePackUri(packUri,
BaseUriHelper
.SiteOfOriginBaseUri) == 0)
System\IO\Packaging\PackWebRequest.cs (2)
585
static private Uri _siteOfOriginUri = PackUriHelper.GetPackageUri(System.Windows.Navigation.
BaseUriHelper
.SiteOfOriginBaseUri);
586
static private Uri _appBaseUri = PackUriHelper.GetPackageUri(System.Windows.Navigation.
BaseUriHelper
.PackAppBaseUri);
System\Windows\Media\Effects\PixelShader.cs (2)
101
newUri =
BaseUriHelper
.GetResolvedUri(
BaseUriHelper
.BaseUri, newUri);
System\Windows\Media\FontFamilyConverter.cs (2)
115
baseUri = new Uri(
BaseUriHelper
.BaseUri, baseUri);
122
baseUri =
BaseUriHelper
.BaseUri;
System\Windows\Media\Imaging\BitmapDecoder.cs (1)
264
System.Windows.Navigation.
BaseUriHelper
.GetResolvedUri(baseUri, uri) :
System\Windows\Media\MediaPlayerState.cs (1)
843
source =
BaseUriHelper
.ConvertPackUriToAbsoluteExternallyVisibleUri(source);
System\Windows\Navigation\BaseUriHelper.cs (4)
73
typeof(
BaseUriHelper
),
100
baseUri =
BaseUriHelper
.BaseUri;
117
baseUri = new Uri(
BaseUriHelper
.BaseUri, baseUri);
476
BaseUriHelper
.GetAssemblyNameAndPart(source, out partName, out assemblyName, out assemblyVersion, out assemblyKey);
PresentationFramework (82)
MS\Internal\AppModel\AppModelKnownContentFactory.cs (6)
46
if (!
BaseUriHelper
.IsPackApplicationUri(baseUri))
54
BaseUriHelper
.GetAssemblyNameAndPart(partUri, out partName, out assemblyName, out assemblyVersion, out assemblyKey);
82
if (string.Equals(baseUri.Scheme,
BaseUriHelper
.PackAppBaseUri.Scheme, StringComparison.OrdinalIgnoreCase))
84
baseUri =
BaseUriHelper
.ConvertPackUriToAbsoluteExternallyVisibleUri(baseUri);
147
if (string.Equals(baseUri.Scheme,
BaseUriHelper
.PackAppBaseUri.Scheme, StringComparison.OrdinalIgnoreCase))
149
baseUri =
BaseUriHelper
.ConvertPackUriToAbsoluteExternallyVisibleUri(baseUri);
MS\Internal\AppModel\ContentFilePart.cs (1)
73
BaseUriHelper
.GetAssemblyNameAndPart(Uri, out filePath, out assemblyName, out assemblyVersion, out assemblyKey);
MS\Internal\AppModel\ResourceContainer.cs (2)
332
BaseUriHelper
.GetAssemblyNameAndPart(uri, out partName, out assemblyName, out assemblyVersion, out assemblyKey);
345
assembly =
BaseUriHelper
.GetLoadedAssembly(assemblyName, assemblyVersion, assemblyKey);
MS\Internal\Data\DefaultValueConverter.cs (2)
762
_cachedBaseUri =
BaseUriHelper
.GetBaseUri(_targetElement);
766
_cachedBaseUri =
BaseUriHelper
.BaseUri;
MS\Internal\Utility\BindUriHelper.cs (1)
201
Uri packUri =
BaseUriHelper
.PackAppBaseUri;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\BindUriHelper.cs (4)
79
return
BaseUriHelper
.BaseUri;
83
BaseUriHelper
.BaseUri =
BaseUriHelper
.FixFileUri(value);
143
newUri =
BaseUriHelper
.FixFileUri(orgUri);
System\Windows\Application.cs (15)
401
Uri currentUri = new Uri(
BaseUriHelper
.PackAppBaseUri, resourceLocator);
507
Uri packUri = BindUriHelper.GetResolvedUri(
BaseUriHelper
.PackAppBaseUri, resourceLocator);
618
if (uriResource.IsAbsoluteUri == true && !
BaseUriHelper
.IsPackApplicationUri(uriResource))
650
if (uriContent.IsAbsoluteUri == true && !
BaseUriHelper
.IsPackApplicationUri(uriContent))
681
if (
BaseUriHelper
.SiteOfOriginBaseUri.IsBaseOf(uriRemote) != true)
687
Uri resolvedUri = BindUriHelper.GetResolvedUri(
BaseUriHelper
.SiteOfOriginBaseUri, uriRemote);
1131
BaseUriHelper
.ResourceAssembly = value;
1585
if (
BaseUriHelper
.IsPackApplicationUri(StartupUri))
2033
_applicationMarkupBaseUri =
BaseUriHelper
.BaseUri;
2064
PreloadedPackages.AddPackage(PackUriHelper.GetPackageUri(
BaseUriHelper
.PackAppBaseUri), new ResourceContainer(), true);
2093
Debug.Assert(!uri.IsAbsoluteUri ||
BaseUriHelper
.IsPackApplicationUri(uri));
2094
Uri packAppUri =
BaseUriHelper
.PackAppBaseUri;
2125
Invariant.Assert(packUri ==
BaseUriHelper
.PackAppBaseUri || packUri ==
BaseUriHelper
.SiteOfOriginBaseUri,
2472
isRootElement =
BaseUriHelper
.IsComponentEntryAssembly(component);
System\Windows\Controls\Frame.cs (2)
190
return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty);
194
SetValue(
BaseUriHelper
.BaseUriProperty, value);
System\Windows\Controls\Image.cs (4)
293
return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty);
297
SetValue(
BaseUriHelper
.BaseUriProperty, value);
482
Uri baseUri =
BaseUriHelper
.GetBaseUriCore(d);
485
((IUriContext)source).BaseUri =
BaseUriHelper
.GetBaseUriCore(d);
System\Windows\Controls\SoundPlayerAction.cs (2)
106
BaseUriHelper
.GetResolvedUri(
BaseUriHelper
.BaseUri, newValue);
System\Windows\Controls\WebBrowser.cs (1)
888
source =
BaseUriHelper
.ConvertPackUriToAbsoluteExternallyVisibleUri(source);
System\Windows\Documents\DocumentReference.cs (2)
187
get { return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty); }
188
set { SetValue(
BaseUriHelper
.BaseUriProperty, value); }
System\Windows\Documents\DocumentSequence.cs (2)
482
get { return (Uri) GetValue(
BaseUriHelper
.BaseUriProperty); }
483
set { SetValue(
BaseUriHelper
.BaseUriProperty, value); }
System\Windows\Documents\FixedDocument.cs (8)
189
get { return (Uri) GetValue(
BaseUriHelper
.BaseUriProperty); }
190
set { SetValue(
BaseUriHelper
.BaseUriProperty, value); }
877
Uri baseUri =
BaseUriHelper
.GetBaseUri(this);
882
if (baseUri.Host.Equals(
BaseUriHelper
.PackAppBaseUri.Host) != true &&
883
baseUri.Host.Equals(
BaseUriHelper
.SiteOfOriginBaseUri.Host) != true)
905
Uri baseUri =
BaseUriHelper
.GetBaseUri(fixedPage);
910
if (baseUri.Host.Equals(
BaseUriHelper
.PackAppBaseUri.Host) != true &&
911
baseUri.Host.Equals(
BaseUriHelper
.SiteOfOriginBaseUri.Host) != true)
System\Windows\Documents\FixedPage.cs (3)
357
get { return (Uri) GetValue(
BaseUriHelper
.BaseUriProperty); }
358
set { SetValue(
BaseUriHelper
.BaseUriProperty, value); }
663
Uri baseUri =
BaseUriHelper
.GetBaseUri(dpo);
System\Windows\Documents\Glyphs.cs (3)
96
return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty);
100
SetValue(
BaseUriHelper
.BaseUriProperty, value);
321
uri = BindUriHelper.GetResolvedUri(
BaseUriHelper
.GetBaseUri(this), uri);
System\Windows\Documents\Hyperlink.cs (2)
763
return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty);
767
SetValue(
BaseUriHelper
.BaseUriProperty, value);
System\Windows\Documents\PageContent.cs (2)
322
return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty);
326
SetValue(
BaseUriHelper
.BaseUriProperty, value);
System\Windows\Documents\Speller.cs (1)
1614
Uri resolvedUri = MS.Internal.Utility.BindUriHelper.GetResolvedUri(
BaseUriHelper
.PackAppBaseUri, uri);
System\Windows\FrameworkTemplate.cs (1)
757
if (dependencyProperty == System.Windows.Navigation.
BaseUriHelper
.BaseUriProperty)
System\Windows\Markup\BamlRecordReader.cs (1)
4488
SetDependencyValue(doRoot,
BaseUriHelper
.BaseUriProperty, baseuri);
System\Windows\Markup\XamlReader.cs (6)
346
parserContext.BaseUri =
BaseUriHelper
.PackAppBaseUri;
486
(rootObject as DependencyObject).SetValue(
BaseUriHelper
.BaseUriProperty, parserContext.BaseUri);
887
parserContext.BaseUri =
BaseUriHelper
.PackAppBaseUri;
957
dObject.SetValue(
BaseUriHelper
.BaseUriProperty, parserContext.BaseUri);
1067
readerSettings.BaseUri =
BaseUriHelper
.PackAppBaseUri;
1105
dObject.SetValue(
BaseUriHelper
.BaseUriProperty, readerSettings.BaseUri);
System\Windows\Navigation\JournalEntry.cs (2)
346
Uri relative =
BaseUriHelper
.MakeRelativeToSiteOfOriginIfPossible(uri);
355
BaseUriHelper
.GetAssemblyNameAndPart(new Uri(relativeUri, UriKind.Relative), out part, out assy, out assyVers, out assyKey);
System\Windows\Navigation\NavigationService.cs (5)
773
curBaseUri = (Uri)(dobj.GetValue(
BaseUriHelper
.BaseUriProperty));
782
dobj.SetValue(
BaseUriHelper
.BaseUriProperty, baseUri);
2929
bool sandBoxContent = SandboxExternalContent && (!
BaseUriHelper
.IsPackApplicationUri(destinationUri)) && MimeTypeMapper.XamlMime.AreTypeAndSubTypeEqual(contentType);
3019
destinationUri =
BaseUriHelper
.ConvertPackUriToAbsoluteExternallyVisibleUri(destinationUri);
3224
Uri baseUri = pfBase.GetValue(
BaseUriHelper
.BaseUriProperty) as Uri;
System\Windows\Navigation\NavigationWindow.cs (3)
408
return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty);
412
SetValue(
BaseUriHelper
.BaseUriProperty, value);
589
Uri uriToNavigate = BindUriHelper.GetUriToNavigate(navWin, d.GetValue(
BaseUriHelper
.BaseUriProperty) as Uri, (Uri)e.NewValue);
System\Windows\SourceUriTypeConverterMarkupExtension.cs (1)
41
Uri appendedVersionUri =
BaseUriHelper
.AppendAssemblyVersion(convertedUri, _assemblyInfo);
ReachFramework (1)
Serialization\VisualTreeFlattener.cs (1)
163
return new Uri(
BaseUriHelper
.SiteOfOriginBaseUri, uri);