1 write to _uri
PresentationCore (1)
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
92
_uri
= folderUri;
16 references to _uri
PresentationCore (16)
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (16)
101
bool isSingleSupportedFile = Util.IsSupportedFontExtension(Util.GetUriExtension(
_uri
), out isComposite);
102
if (isSingleSupportedFile || !Util.IsEnumerableFontUriScheme(
_uri
))
105
_fontSources.Add(new FontSource(
_uri
, false, isComposite));
122
if (
_uri
.IsFile)
126
if (object.ReferenceEquals(
_uri
, Util.WindowsFontsUriObject))
140
string localPath =
_uri
.LocalPath;
164
if (
_uri
.IsFile)
190
files = Directory.GetFiles(
_uri
.LocalPath, "*" + Util.CompositeFontExtension);
219
foreach (string file in Directory.GetFiles(
_uri
.LocalPath))
237
files = Directory.GetFiles(
_uri
.LocalPath, "*" + Util.CompositeFontExtension);
242
files = Directory.GetFiles(
_uri
.LocalPath);
248
files = new string[1] {
_uri
.LocalPath};
271
List<string> resourceEntries = FontResourceCache.LookupFolder(
_uri
);
288
isComposite = Util.IsCompositeFont(Path.GetExtension(
_uri
.AbsoluteUri));
289
fontSources.Add(new FontSource(
_uri
, _isWindowsFonts, isComposite));
294
fontSources.Add(new FontSource(new Uri(
_uri
, resourceName), _isWindowsFonts, isComposite));