3 instantiations of CanonicalFontFamilyReference
PresentationCore (3)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (3)
62return new CanonicalFontFamilyReference(fileName, unescapeFamilyName); 66return new CanonicalFontFamilyReference(absoluteUri, unescapeFamilyName); 188private static readonly CanonicalFontFamilyReference _unresolved = new CanonicalFontFamilyReference((Uri)null, string.Empty);
26 references to CanonicalFontFamilyReference
PresentationCore (26)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (5)
26public static CanonicalFontFamilyReference Create(Uri baseUri, string normalizedString) 78public static CanonicalFontFamilyReference Unresolved 113public bool Equals(CanonicalFontFamilyReference other) 123return Equals(obj as CanonicalFontFamilyReference); 188private static readonly CanonicalFontFamilyReference _unresolved = new CanonicalFontFamilyReference((Uri)null, string.Empty);
MS\Internal\FontFace\FontFamilyIdentifier.cs (13)
105_canonicalReferences = new CanonicalFontFamilyReference[_tokenCount]; 108foreach (CanonicalFontFamilyReference family in first._canonicalReferences) 112foreach (CanonicalFontFamilyReference family in second._canonicalReferences) 166foreach (CanonicalFontFamilyReference family in _canonicalReferences) 189internal CanonicalFontFamilyReference this[int tokenIndex] 235CanonicalFontFamilyReference[] canonicalReferences = TypefaceMetricsCache.ReadonlyLookup(hashKey) as CanonicalFontFamilyReference[]; 240canonicalReferences = new CanonicalFontFamilyReference[count]; 350private CanonicalFontFamilyReference GetCanonicalReference(int startIndex, int length) 359CanonicalFontFamilyReference canonicalReference = TypefaceMetricsCache.ReadonlyLookup(hashKey) as CanonicalFontFamilyReference; 365canonicalReference = CanonicalFontFamilyReference.Create(_baseUri, normalizedString); 468private CanonicalFontFamilyReference[] _canonicalReferences;
MS\Internal\Shaping\TypefaceMap.cs (2)
485CanonicalFontFamilyReference canonicalFamilyReference, 885CanonicalFontFamilyReference canonicalFamilyReference = null;
System\Windows\Media\FontFamily.cs (6)
42internal static readonly CanonicalFontFamilyReference NullFontFamilyCanonicalName = CanonicalFontFamilyReference.Create(null, "#ARIAL"); 388CanonicalFontFamilyReference canonicalName, 411internal static IFontFamily LookupFontFamily(CanonicalFontFamilyReference canonicalName) 479CanonicalFontFamilyReference canonicalFamilyReference, 485if (canonicalFamilyReference == null || object.ReferenceEquals(canonicalFamilyReference, CanonicalFontFamilyReference.Unresolved))