1 write to _fontUri
PresentationCore (1)
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
89
_fontUri
= fontUri;
22 references to _fontUri
PresentationCore (22)
Core\CSharp\MS\Internal\FontCache\FontSource.cs (22)
92
Invariant.Assert(
_fontUri
.IsAbsoluteUri);
93
Debug.Assert(String.IsNullOrEmpty(
_fontUri
.Fragment));
120
return
_fontUri
.GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
151
return
_fontUri
;
164
return Util.IsAppSpecificUri(
_fontUri
);
185
if (
_fontUri
.IsFile)
192
new FileIOPermission(FileIOPermissionAccess.Read,
_fontUri
.LocalPath).Assert(); //Blessed Assert
198
return Directory.GetLastWriteTimeUtc(
_fontUri
.LocalPath);
217
if (
_fontUri
.IsFile)
223
fileMapping.OpenFile(
_fontUri
.LocalPath);
231
bits = _resourceCache.Get(
_fontUri
);
236
WebResponse response = WpfWebRequestHelper.CreateRequestAndGetResponse(
_fontUri
);
242
fontStream = new DeobfuscatingStream(fontStream,
_fontUri
, false);
255
_resourceCache.Add(
_fontUri
, bits, false);
273
if (
_fontUri
.IsFile)
279
fileMapping.OpenFile(
_fontUri
.LocalPath);
290
if (
_fontUri
.IsFile)
296
fileMapping.OpenFile(
_fontUri
.LocalPath);
305
bits = _resourceCache.Get(
_fontUri
);
311
WebRequest request = PackWebRequestFactory.CreateWebRequest(
_fontUri
);
319
fontStream = new DeobfuscatingStream(fontStream,
_fontUri
, false);
413
SecurityHelper.DemandUriReadPermission(
_fontUri
);