C# (CSharp) SIL.FieldWorks.SharpViews AssembledStylesCache - 2 Beispiele gefunden. Dies sind die am besten bewerteten C# (CSharp) Beispiele für die SIL.FieldWorks.SharpViews.AssembledStylesCache, die aus Open Source-Projekten extrahiert wurden. Sie können Beispiele bewerten, um die Qualität der Beispiele zu verbessern.
Verbunden
Related in langs
This is a class that retrieves assembled styles, either by matching an existing one, or by the path used to create it. We keep track of the path using two dictionaries, one for object properties and one for integer ones. The object one could serve for everything, but a lot of integers would get boxed, and we'd have to do all kinds of trickery to avoid the nuisance that two independent boxes of the same integer are not equal. We could achieve the same functionality without the Triple-keyed dictionaries at all, but much less efficiently: we'd have to create the derived AS every time before finding out that it already exists.