C# (CSharp) SIL.FieldWorks.SharpViews AssembledStylesCache - 2 examples found. These are the top rated real world C# (CSharp) examples of SIL.FieldWorks.SharpViews.AssembledStylesCache extracted from open source projects. You can rate examples to help us improve the quality of examples.
Related
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.