Ejemplo n.º 1
0
        public void BuildTo(StyleSheet writeTo)
        {
            Debug.Assert(m_BuilderState == BuilderState.Init);

            writeTo.floats           = m_Floats.ToArray();
            writeTo.dimensions       = m_Dimensions.ToArray();
            writeTo.colors           = m_Colors.ToArray();
            writeTo.strings          = m_Strings.ToArray();
            writeTo.rules            = m_Rules.ToArray();
            writeTo.assets           = m_Assets.ToArray();
            writeTo.scalableImages   = m_ScalableImages.ToArray();
            writeTo.complexSelectors = m_ComplexSelectors.ToArray();

            writeTo.imports = m_Imports.ToArray();
            if (writeTo.imports.Length > 0)
            {
                writeTo.FlattenImportedStyleSheetsRecursive();
            }
        }