Exemplo n.º 1
0
        public static UnitNode UnitNode(string value)
        {
            UnitNode retn = s_UnitNodePool.Get();

            retn.value = value;
            return(retn);
        }
Exemplo n.º 2
0
        internal static MeasurementNode MeasurementNode(StyleLiteralNode value, UnitNode unit)
        {
            MeasurementNode measurementNode = s_MeasurementNodePool.Get();

            measurementNode.value = value;
            measurementNode.unit  = unit;
            return(measurementNode);
        }