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