115 references to BaseUriHelper
PresentationCore (31)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
62
siteOfOrigin =
BaseUriHelper
.FixFileUri(new Uri(System.AppDomain.CurrentDomain.BaseDirectory));
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
735
isEnumerable =
BaseUriHelper
.IsPackApplicationUri(fileUri);
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (2)
64
Debug.Assert(uri.IsAbsoluteUri && uri.Scheme == PackUriHelper.UriSchemePack &&
BaseUriHelper
.IsPackApplicationUri(uri));
69
BaseUriHelper
.GetAssemblyAndPartNameFromPackAppUri(uri, out uriAssembly, out escapedPath);
Core\CSharp\MS\Internal\Resources\ContentFileHelper.cs (2)
25
_contentFiles = GetContentFiles(
BaseUriHelper
.ResourceAssembly);
50
asm =
BaseUriHelper
.ResourceAssembly;
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (3)
94
Uri requestUri =
BaseUriHelper
.PackAppBaseUri.MakeRelativeUri(uri);
245
Uri requestUri =
BaseUriHelper
.PackAppBaseUri.MakeRelativeUri(request.RequestUri);
266
Uri requestUri =
BaseUriHelper
.PackAppBaseUri.MakeRelativeUri(request.RequestUri);
Core\CSharp\System\IO\Packaging\PackageStore.cs (2)
128
if (PackUriHelper.ComparePackUri(packUri,
BaseUriHelper
.PackAppBaseUri) == 0
129
|| PackUriHelper.ComparePackUri(packUri,
BaseUriHelper
.SiteOfOriginBaseUri) == 0)
Core\CSharp\System\IO\Packaging\PackWebRequest.cs (2)
618
static private Uri _siteOfOriginUri = PackUriHelper.GetPackageUri(System.Windows.Navigation.
BaseUriHelper
.SiteOfOriginBaseUri);
619
static private Uri _appBaseUri = PackUriHelper.GetPackageUri(System.Windows.Navigation.
BaseUriHelper
.PackAppBaseUri);
Core\CSharp\System\Windows\Media\Effects\PixelShader.cs (2)
100
newUri =
BaseUriHelper
.GetResolvedUri(
BaseUriHelper
.BaseUri, newUri);
Core\CSharp\System\Windows\Media\FontFamilyConverter.cs (2)
117
baseUri = new Uri(
BaseUriHelper
.BaseUri, baseUri);
124
baseUri =
BaseUriHelper
.BaseUri;
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (1)
309
System.Windows.Navigation.
BaseUriHelper
.GetResolvedUri(baseUri, uri) :
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (1)
959
source =
BaseUriHelper
.ConvertPackUriToAbsoluteExternallyVisibleUri(source);
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (4)
88
typeof(
BaseUriHelper
),
121
baseUri =
BaseUriHelper
.BaseUri;
138
baseUri = new Uri(
BaseUriHelper
.BaseUri, baseUri);
516
BaseUriHelper
.GetAssemblyNameAndPart(source, out partName, out assemblyName, out assemblyVersion, out assemblyKey);
Shared\MS\Internal\SecurityHelper.cs (2)
1275
if (String.Compare((System.Windows.Navigation.
BaseUriHelper
.GetResolvedUri(System.Windows.Navigation.
BaseUriHelper
.BaseUri, new Uri(uri, UriKind.RelativeOrAbsolute))).Scheme,
Shared\MS\Utility\BindUriHelper.cs (4)
83
return
BaseUriHelper
.BaseUri;
88
BaseUriHelper
.BaseUri =
BaseUriHelper
.FixFileUri(value);
148
newUri =
BaseUriHelper
.FixFileUri(orgUri);
Shared\System\Windows\Media\TypeConverterHelper.cs (2)
96
uriHolder.BaseUri = new Uri(
BaseUriHelper
.BaseUri, uriHolder.BaseUri);
104
uriHolder.BaseUri =
BaseUriHelper
.BaseUri;
PresentationFramework (84)
src\Framework\MS\Internal\AppModel\AppModelKnownContentFactory.cs (6)
49
if (!
BaseUriHelper
.IsPackApplicationUri(baseUri))
57
BaseUriHelper
.GetAssemblyNameAndPart(partUri, out partName, out assemblyName, out assemblyVersion, out assemblyKey);
87
if (SecurityHelper.AreStringTypesEqual(baseUri.Scheme,
BaseUriHelper
.PackAppBaseUri.Scheme))
89
baseUri =
BaseUriHelper
.ConvertPackUriToAbsoluteExternallyVisibleUri(baseUri);
140
if (SecurityHelper.AreStringTypesEqual(baseUri.Scheme,
BaseUriHelper
.PackAppBaseUri.Scheme))
142
baseUri =
BaseUriHelper
.ConvertPackUriToAbsoluteExternallyVisibleUri(baseUri);
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (1)
94
BaseUriHelper
.GetAssemblyNameAndPart(Uri, out filePath, out assemblyName, out assemblyVersion, out assemblyKey);
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (2)
350
BaseUriHelper
.GetAssemblyNameAndPart(uri, out partName, out assemblyName, out assemblyVersion, out assemblyKey);
363
assembly =
BaseUriHelper
.GetLoadedAssembly(assemblyName, assemblyVersion, assemblyKey);
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (2)
766
_cachedBaseUri =
BaseUriHelper
.GetBaseUri(_targetElement);
770
_cachedBaseUri =
BaseUriHelper
.BaseUri;
src\Framework\MS\Internal\Utility\BindUriHelper.cs (1)
209
Uri packUri =
BaseUriHelper
.PackAppBaseUri;
src\Framework\System\Windows\Application.cs (15)
473
Uri currentUri = new Uri(
BaseUriHelper
.PackAppBaseUri, resourceLocator);
591
Uri packUri = BindUriHelper.GetResolvedUri(
BaseUriHelper
.PackAppBaseUri, resourceLocator);
708
if (uriResource.IsAbsoluteUri == true && !
BaseUriHelper
.IsPackApplicationUri(uriResource))
746
if (uriContent.IsAbsoluteUri == true && !
BaseUriHelper
.IsPackApplicationUri(uriContent))
783
if (
BaseUriHelper
.SiteOfOriginBaseUri.IsBaseOf(uriRemote) != true)
789
Uri resolvedUri = BindUriHelper.GetResolvedUri(
BaseUriHelper
.SiteOfOriginBaseUri, uriRemote);
1174
BaseUriHelper
.ResourceAssembly = value;
1656
if (
BaseUriHelper
.IsPackApplicationUri(StartupUri))
2187
_applicationMarkupBaseUri =
BaseUriHelper
.BaseUri;
2225
PreloadedPackages.AddPackage(PackUriHelper.GetPackageUri(
BaseUriHelper
.PackAppBaseUri), new ResourceContainer(), true);
2258
Debug.Assert(!uri.IsAbsoluteUri ||
BaseUriHelper
.IsPackApplicationUri(uri));
2259
Uri packAppUri =
BaseUriHelper
.PackAppBaseUri;
2296
Invariant.Assert(packUri ==
BaseUriHelper
.PackAppBaseUri || packUri ==
BaseUriHelper
.SiteOfOriginBaseUri,
2710
isRootElement =
BaseUriHelper
.IsComponentEntryAssembly(component);
src\Framework\System\Windows\Controls\Frame.cs (2)
197
return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty);
201
SetValue(
BaseUriHelper
.BaseUriProperty, value);
src\Framework\System\Windows\Controls\Image.cs (4)
298
return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty);
302
SetValue(
BaseUriHelper
.BaseUriProperty, value);
487
Uri baseUri =
BaseUriHelper
.GetBaseUriCore(d);
490
((IUriContext)source).BaseUri =
BaseUriHelper
.GetBaseUriCore(d);
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (2)
107
BaseUriHelper
.GetResolvedUri(
BaseUriHelper
.BaseUri, newValue);
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
1213
source =
BaseUriHelper
.ConvertPackUriToAbsoluteExternallyVisibleUri(source);
src\Framework\System\Windows\Documents\DocumentReference.cs (2)
193
get { return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty); }
194
set { SetValue(
BaseUriHelper
.BaseUriProperty, value); }
src\Framework\System\Windows\Documents\DocumentSequence.cs (2)
508
get { return (Uri) GetValue(
BaseUriHelper
.BaseUriProperty); }
509
set { SetValue(
BaseUriHelper
.BaseUriProperty, value); }
src\Framework\System\Windows\Documents\FixedDocument.cs (8)
201
get { return (Uri) GetValue(
BaseUriHelper
.BaseUriProperty); }
202
set { SetValue(
BaseUriHelper
.BaseUriProperty, value); }
904
Uri baseUri =
BaseUriHelper
.GetBaseUri(this);
909
if (baseUri.Host.Equals(
BaseUriHelper
.PackAppBaseUri.Host) != true &&
910
baseUri.Host.Equals(
BaseUriHelper
.SiteOfOriginBaseUri.Host) != true)
932
Uri baseUri =
BaseUriHelper
.GetBaseUri(fixedPage);
937
if (baseUri.Host.Equals(
BaseUriHelper
.PackAppBaseUri.Host) != true &&
938
baseUri.Host.Equals(
BaseUriHelper
.SiteOfOriginBaseUri.Host) != true)
src\Framework\System\Windows\Documents\FixedPage.cs (3)
364
get { return (Uri) GetValue(
BaseUriHelper
.BaseUriProperty); }
365
set { SetValue(
BaseUriHelper
.BaseUriProperty, value); }
692
Uri baseUri =
BaseUriHelper
.GetBaseUri(dpo);
src\Framework\System\Windows\Documents\Glyphs.cs (3)
101
return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty);
105
SetValue(
BaseUriHelper
.BaseUriProperty, value);
340
uri = BindUriHelper.GetResolvedUri(
BaseUriHelper
.GetBaseUri(this), uri);
src\Framework\System\Windows\Documents\Hyperlink.cs (2)
802
return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty);
806
SetValue(
BaseUriHelper
.BaseUriProperty, value);
src\Framework\System\Windows\Documents\PageContent.cs (2)
334
return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty);
338
SetValue(
BaseUriHelper
.BaseUriProperty, value);
src\Framework\System\Windows\Documents\Speller.cs (1)
1742
Uri resolvedUri = MS.Internal.Utility.BindUriHelper.GetResolvedUri(
BaseUriHelper
.PackAppBaseUri, uri);
src\Framework\System\Windows\FrameworkTemplate.cs (1)
761
if (dependencyProperty == System.Windows.Navigation.
BaseUriHelper
.BaseUriProperty)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
4534
SetDependencyValue(doRoot,
BaseUriHelper
.BaseUriProperty, baseuri);
src\Framework\System\Windows\Markup\XamlReader.cs (6)
251
parserContext.BaseUri =
BaseUriHelper
.PackAppBaseUri;
390
(rootObject as DependencyObject).SetValue(
BaseUriHelper
.BaseUriProperty, parserContext.BaseUri);
809
parserContext.BaseUri =
BaseUriHelper
.PackAppBaseUri;
879
dObject.SetValue(
BaseUriHelper
.BaseUriProperty, parserContext.BaseUri);
1001
readerSettings.BaseUri =
BaseUriHelper
.PackAppBaseUri;
1048
dObject.SetValue(
BaseUriHelper
.BaseUriProperty, readerSettings.BaseUri);
src\Framework\System\Windows\Navigation\JournalEntry.cs (2)
376
Uri relative =
BaseUriHelper
.MakeRelativeToSiteOfOriginIfPossible(uri);
385
BaseUriHelper
.GetAssemblyNameAndPart(new Uri(relativeUri, UriKind.Relative), out part, out assy, out assyVers, out assyKey);
src\Framework\System\Windows\Navigation\NavigationService.cs (8)
222
if (SecurityHelper.AreStringTypesEqual(bpu.Scheme,
BaseUriHelper
.PackAppBaseUri.Scheme))
224
bpu =
BaseUriHelper
.ConvertPackUriToAbsoluteExternallyVisibleUri(bpu);
593
source =
BaseUriHelper
.ConvertPackUriToAbsoluteExternallyVisibleUri(source);
901
curBaseUri = (Uri)(dobj.GetValue(
BaseUriHelper
.BaseUriProperty));
910
dobj.SetValue(
BaseUriHelper
.BaseUriProperty, baseUri);
3153
bool sandBoxContent = SandboxExternalContent && (!
BaseUriHelper
.IsPackApplicationUri(destinationUri)) && MimeTypeMapper.XamlMime.AreTypeAndSubTypeEqual(contentType);
3248
destinationUri =
BaseUriHelper
.ConvertPackUriToAbsoluteExternallyVisibleUri(destinationUri);
3462
Uri baseUri = pfBase.GetValue(
BaseUriHelper
.BaseUriProperty) as Uri;
src\Framework\System\Windows\Navigation\NavigationWindow.cs (3)
428
return (Uri)GetValue(
BaseUriHelper
.BaseUriProperty);
432
SetValue(
BaseUriHelper
.BaseUriProperty, value);
616
Uri uriToNavigate = BindUriHelper.GetUriToNavigate(navWin, d.GetValue(
BaseUriHelper
.BaseUriProperty) as Uri, (Uri)e.NewValue);
src\Shared\MS\Utility\BindUriHelper.cs (4)
83
return
BaseUriHelper
.BaseUri;
88
BaseUriHelper
.BaseUri =
BaseUriHelper
.FixFileUri(value);
148
newUri =
BaseUriHelper
.FixFileUri(orgUri);